Zakharov_Rostislav
d99c4b78a0
task 1 complete task2 task2 change test data initialization task3 task2 fix fixes add percents minor fixes
491 lines
14 KiB
C#
491 lines
14 KiB
C#
namespace TestApp1
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// Required designer variable.
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// Clean up any resources being used.
|
||
/// </summary>
|
||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows Form Designer generated code
|
||
|
||
/// <summary>
|
||
/// Required method for Designer support - do not modify
|
||
/// the contents of this method with the code editor.
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
components = new System.ComponentModel.Container();
|
||
input = new Button();
|
||
clear = new Button();
|
||
textBox1 = new TextBox();
|
||
set = new Button();
|
||
get = new Button();
|
||
checkList = new ComponentLibrary1.CheckList();
|
||
changeBox = new CheckBox();
|
||
groupBox1 = new GroupBox();
|
||
groupBox2 = new GroupBox();
|
||
numericMax = new NumericUpDown();
|
||
numericMin = new NumericUpDown();
|
||
inputMax = new Button();
|
||
inputMin = new Button();
|
||
limitedText = new ComponentLibrary1.LimitedText();
|
||
write = new Button();
|
||
read = new Button();
|
||
textBox2 = new TextBox();
|
||
changeBox2 = new CheckBox();
|
||
groupBox3 = new GroupBox();
|
||
textBoxOutput = new TextBox();
|
||
treeList = new ComponentLibrary1.tree_list.TreeList();
|
||
textBoxDepartment = new TextBox();
|
||
textBoxJobTitle = new TextBox();
|
||
add = new Button();
|
||
clearTreeList = new Button();
|
||
textBoxFullName = new TextBox();
|
||
getObject = new Button();
|
||
groupBox4 = new GroupBox();
|
||
listBoxImages = new ListBox();
|
||
chooseImage = new Button();
|
||
createPdfImages = new Button();
|
||
pdfImage = new ComponentLibrary1.pdf_image.PdfImage(components);
|
||
groupBox5 = new GroupBox();
|
||
createTable = new Button();
|
||
pdfTable = new ComponentLibrary1.pdf_table.PdfTable(components);
|
||
pdfDiagram = new ComponentLibrary1.pdf_diagram.PdfDiagram(components);
|
||
groupBox6 = new GroupBox();
|
||
createDiagram = new Button();
|
||
groupBox1.SuspendLayout();
|
||
groupBox2.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)numericMax).BeginInit();
|
||
((System.ComponentModel.ISupportInitialize)numericMin).BeginInit();
|
||
groupBox3.SuspendLayout();
|
||
groupBox4.SuspendLayout();
|
||
groupBox5.SuspendLayout();
|
||
groupBox6.SuspendLayout();
|
||
SuspendLayout();
|
||
//
|
||
// input
|
||
//
|
||
input.Location = new Point(6, 269);
|
||
input.Name = "input";
|
||
input.Size = new Size(70, 26);
|
||
input.TabIndex = 0;
|
||
input.Text = "input";
|
||
input.UseVisualStyleBackColor = true;
|
||
input.Click += input_Click;
|
||
//
|
||
// clear
|
||
//
|
||
clear.Location = new Point(82, 269);
|
||
clear.Name = "clear";
|
||
clear.Size = new Size(70, 26);
|
||
clear.TabIndex = 1;
|
||
clear.Text = "clear";
|
||
clear.UseVisualStyleBackColor = true;
|
||
clear.Click += clear_Click;
|
||
//
|
||
// textBox1
|
||
//
|
||
textBox1.Location = new Point(6, 240);
|
||
textBox1.Name = "textBox1";
|
||
textBox1.Size = new Size(146, 23);
|
||
textBox1.TabIndex = 2;
|
||
//
|
||
// set
|
||
//
|
||
set.Location = new Point(6, 301);
|
||
set.Name = "set";
|
||
set.Size = new Size(70, 26);
|
||
set.TabIndex = 3;
|
||
set.Text = "set";
|
||
set.UseVisualStyleBackColor = true;
|
||
set.Click += set_Click;
|
||
//
|
||
// get
|
||
//
|
||
get.Location = new Point(82, 301);
|
||
get.Name = "get";
|
||
get.Size = new Size(70, 26);
|
||
get.TabIndex = 4;
|
||
get.Text = "get";
|
||
get.UseVisualStyleBackColor = true;
|
||
get.Click += get_Click;
|
||
//
|
||
// checkList
|
||
//
|
||
checkList.Location = new Point(6, 22);
|
||
checkList.Name = "checkList";
|
||
checkList.SelectedItem = "";
|
||
checkList.Size = new Size(146, 172);
|
||
checkList.TabIndex = 5;
|
||
//
|
||
// changeBox
|
||
//
|
||
changeBox.AutoSize = true;
|
||
changeBox.Location = new Point(6, 200);
|
||
changeBox.Name = "changeBox";
|
||
changeBox.Size = new Size(72, 19);
|
||
changeBox.TabIndex = 6;
|
||
changeBox.Text = "changed";
|
||
changeBox.UseVisualStyleBackColor = true;
|
||
//
|
||
// groupBox1
|
||
//
|
||
groupBox1.Controls.Add(checkList);
|
||
groupBox1.Controls.Add(input);
|
||
groupBox1.Controls.Add(clear);
|
||
groupBox1.Controls.Add(textBox1);
|
||
groupBox1.Controls.Add(changeBox);
|
||
groupBox1.Controls.Add(set);
|
||
groupBox1.Controls.Add(get);
|
||
groupBox1.Location = new Point(16, 12);
|
||
groupBox1.Name = "groupBox1";
|
||
groupBox1.Size = new Size(157, 332);
|
||
groupBox1.TabIndex = 10;
|
||
groupBox1.TabStop = false;
|
||
groupBox1.Text = "Test1";
|
||
//
|
||
// groupBox2
|
||
//
|
||
groupBox2.Controls.Add(numericMax);
|
||
groupBox2.Controls.Add(numericMin);
|
||
groupBox2.Controls.Add(inputMax);
|
||
groupBox2.Controls.Add(inputMin);
|
||
groupBox2.Controls.Add(limitedText);
|
||
groupBox2.Controls.Add(write);
|
||
groupBox2.Controls.Add(read);
|
||
groupBox2.Controls.Add(textBox2);
|
||
groupBox2.Controls.Add(changeBox2);
|
||
groupBox2.Location = new Point(179, 12);
|
||
groupBox2.Name = "groupBox2";
|
||
groupBox2.Size = new Size(157, 332);
|
||
groupBox2.TabIndex = 11;
|
||
groupBox2.TabStop = false;
|
||
groupBox2.Text = "Test2";
|
||
//
|
||
// numericMax
|
||
//
|
||
numericMax.Location = new Point(7, 160);
|
||
numericMax.Name = "numericMax";
|
||
numericMax.Size = new Size(145, 23);
|
||
numericMax.TabIndex = 11;
|
||
//
|
||
// numericMin
|
||
//
|
||
numericMin.Location = new Point(7, 131);
|
||
numericMin.Name = "numericMin";
|
||
numericMin.Size = new Size(145, 23);
|
||
numericMin.TabIndex = 10;
|
||
//
|
||
// inputMax
|
||
//
|
||
inputMax.Location = new Point(82, 301);
|
||
inputMax.Name = "inputMax";
|
||
inputMax.Size = new Size(70, 26);
|
||
inputMax.TabIndex = 9;
|
||
inputMax.Text = "inputMax";
|
||
inputMax.UseVisualStyleBackColor = true;
|
||
inputMax.Click += inputMax_Click;
|
||
//
|
||
// inputMin
|
||
//
|
||
inputMin.Location = new Point(6, 301);
|
||
inputMin.Name = "inputMin";
|
||
inputMin.Size = new Size(70, 26);
|
||
inputMin.TabIndex = 8;
|
||
inputMin.Text = "inputMin";
|
||
inputMin.UseVisualStyleBackColor = true;
|
||
inputMin.Click += inputMin_Click;
|
||
//
|
||
// limitedText
|
||
//
|
||
limitedText.Location = new Point(7, 74);
|
||
limitedText.Max = null;
|
||
limitedText.Min = null;
|
||
limitedText.Name = "limitedText";
|
||
limitedText.Size = new Size(145, 26);
|
||
limitedText.TabIndex = 7;
|
||
//
|
||
// write
|
||
//
|
||
write.Location = new Point(6, 269);
|
||
write.Name = "write";
|
||
write.Size = new Size(70, 26);
|
||
write.TabIndex = 0;
|
||
write.Text = "write";
|
||
write.UseVisualStyleBackColor = true;
|
||
write.Click += write_Click;
|
||
//
|
||
// read
|
||
//
|
||
read.Location = new Point(82, 269);
|
||
read.Name = "read";
|
||
read.Size = new Size(70, 26);
|
||
read.TabIndex = 1;
|
||
read.Text = "read";
|
||
read.UseVisualStyleBackColor = true;
|
||
read.Click += read_Click;
|
||
//
|
||
// textBox2
|
||
//
|
||
textBox2.Location = new Point(6, 240);
|
||
textBox2.Name = "textBox2";
|
||
textBox2.Size = new Size(146, 23);
|
||
textBox2.TabIndex = 2;
|
||
//
|
||
// changeBox2
|
||
//
|
||
changeBox2.AutoSize = true;
|
||
changeBox2.Location = new Point(6, 200);
|
||
changeBox2.Name = "changeBox2";
|
||
changeBox2.Size = new Size(72, 19);
|
||
changeBox2.TabIndex = 6;
|
||
changeBox2.Text = "changed";
|
||
changeBox2.UseVisualStyleBackColor = true;
|
||
//
|
||
// groupBox3
|
||
//
|
||
groupBox3.Controls.Add(textBoxOutput);
|
||
groupBox3.Controls.Add(treeList);
|
||
groupBox3.Controls.Add(textBoxDepartment);
|
||
groupBox3.Controls.Add(textBoxJobTitle);
|
||
groupBox3.Controls.Add(add);
|
||
groupBox3.Controls.Add(clearTreeList);
|
||
groupBox3.Controls.Add(textBoxFullName);
|
||
groupBox3.Controls.Add(getObject);
|
||
groupBox3.Location = new Point(342, 12);
|
||
groupBox3.Name = "groupBox3";
|
||
groupBox3.Size = new Size(157, 332);
|
||
groupBox3.TabIndex = 11;
|
||
groupBox3.TabStop = false;
|
||
groupBox3.Text = "Test3";
|
||
//
|
||
// textBoxOutput
|
||
//
|
||
textBoxOutput.Location = new Point(6, 240);
|
||
textBoxOutput.Name = "textBoxOutput";
|
||
textBoxOutput.Size = new Size(145, 23);
|
||
textBoxOutput.TabIndex = 15;
|
||
//
|
||
// treeList
|
||
//
|
||
treeList.Location = new Point(6, 22);
|
||
treeList.Name = "treeList";
|
||
treeList.Size = new Size(145, 125);
|
||
treeList.TabIndex = 14;
|
||
//
|
||
// textBoxDepartment
|
||
//
|
||
textBoxDepartment.Location = new Point(6, 153);
|
||
textBoxDepartment.Name = "textBoxDepartment";
|
||
textBoxDepartment.Size = new Size(145, 23);
|
||
textBoxDepartment.TabIndex = 13;
|
||
//
|
||
// textBoxJobTitle
|
||
//
|
||
textBoxJobTitle.Location = new Point(6, 182);
|
||
textBoxJobTitle.Name = "textBoxJobTitle";
|
||
textBoxJobTitle.Size = new Size(145, 23);
|
||
textBoxJobTitle.TabIndex = 12;
|
||
//
|
||
// add
|
||
//
|
||
add.Location = new Point(6, 269);
|
||
add.Name = "add";
|
||
add.Size = new Size(70, 26);
|
||
add.TabIndex = 0;
|
||
add.Text = "add";
|
||
add.UseVisualStyleBackColor = true;
|
||
add.Click += add_Click;
|
||
//
|
||
// clearTreeList
|
||
//
|
||
clearTreeList.Location = new Point(6, 300);
|
||
clearTreeList.Name = "clearTreeList";
|
||
clearTreeList.Size = new Size(145, 26);
|
||
clearTreeList.TabIndex = 1;
|
||
clearTreeList.Text = "clear";
|
||
clearTreeList.UseVisualStyleBackColor = true;
|
||
clearTreeList.Click += clearTreeList_Click;
|
||
//
|
||
// textBoxFullName
|
||
//
|
||
textBoxFullName.Location = new Point(6, 211);
|
||
textBoxFullName.Name = "textBoxFullName";
|
||
textBoxFullName.Size = new Size(145, 23);
|
||
textBoxFullName.TabIndex = 2;
|
||
//
|
||
// getObject
|
||
//
|
||
getObject.Location = new Point(81, 269);
|
||
getObject.Name = "getObject";
|
||
getObject.Size = new Size(70, 26);
|
||
getObject.TabIndex = 3;
|
||
getObject.Text = "get object";
|
||
getObject.UseVisualStyleBackColor = true;
|
||
getObject.Click += getObject_Click;
|
||
//
|
||
// groupBox4
|
||
//
|
||
groupBox4.Controls.Add(listBoxImages);
|
||
groupBox4.Controls.Add(chooseImage);
|
||
groupBox4.Controls.Add(createPdfImages);
|
||
groupBox4.Location = new Point(505, 12);
|
||
groupBox4.Name = "groupBox4";
|
||
groupBox4.Size = new Size(157, 205);
|
||
groupBox4.TabIndex = 11;
|
||
groupBox4.TabStop = false;
|
||
groupBox4.Text = "Test4";
|
||
//
|
||
// listBoxImages
|
||
//
|
||
listBoxImages.FormattingEnabled = true;
|
||
listBoxImages.ItemHeight = 15;
|
||
listBoxImages.Location = new Point(6, 23);
|
||
listBoxImages.Name = "listBoxImages";
|
||
listBoxImages.Size = new Size(146, 109);
|
||
listBoxImages.TabIndex = 3;
|
||
//
|
||
// chooseImage
|
||
//
|
||
chooseImage.Location = new Point(6, 141);
|
||
chooseImage.Name = "chooseImage";
|
||
chooseImage.Size = new Size(146, 26);
|
||
chooseImage.TabIndex = 0;
|
||
chooseImage.Text = "Выбрать изображения";
|
||
chooseImage.UseVisualStyleBackColor = true;
|
||
chooseImage.Click += chooseImage_Click;
|
||
//
|
||
// createPdfImages
|
||
//
|
||
createPdfImages.Location = new Point(6, 173);
|
||
createPdfImages.Name = "createPdfImages";
|
||
createPdfImages.Size = new Size(146, 26);
|
||
createPdfImages.TabIndex = 1;
|
||
createPdfImages.Text = "Cоздать pdf с фотками";
|
||
createPdfImages.UseVisualStyleBackColor = true;
|
||
createPdfImages.Click += createPdfImages_Click;
|
||
//
|
||
// groupBox5
|
||
//
|
||
groupBox5.Controls.Add(createTable);
|
||
groupBox5.Location = new Point(505, 223);
|
||
groupBox5.Name = "groupBox5";
|
||
groupBox5.Size = new Size(157, 59);
|
||
groupBox5.TabIndex = 12;
|
||
groupBox5.TabStop = false;
|
||
groupBox5.Text = "Test5";
|
||
//
|
||
// createTable
|
||
//
|
||
createTable.Location = new Point(6, 23);
|
||
createTable.Name = "createTable";
|
||
createTable.Size = new Size(146, 26);
|
||
createTable.TabIndex = 0;
|
||
createTable.Text = "Создать pdf таблицу";
|
||
createTable.UseVisualStyleBackColor = true;
|
||
createTable.Click += createTable_Click;
|
||
//
|
||
// groupBox6
|
||
//
|
||
groupBox6.Controls.Add(createDiagram);
|
||
groupBox6.Location = new Point(505, 285);
|
||
groupBox6.Name = "groupBox6";
|
||
groupBox6.Size = new Size(157, 59);
|
||
groupBox6.TabIndex = 13;
|
||
groupBox6.TabStop = false;
|
||
groupBox6.Text = "Test6";
|
||
//
|
||
// createDiagram
|
||
//
|
||
createDiagram.Location = new Point(6, 23);
|
||
createDiagram.Name = "createDiagram";
|
||
createDiagram.Size = new Size(146, 26);
|
||
createDiagram.TabIndex = 0;
|
||
createDiagram.Text = "Создать pdf диаграмму";
|
||
createDiagram.UseVisualStyleBackColor = true;
|
||
createDiagram.Click += createDiagram_Click;
|
||
//
|
||
// Form1
|
||
//
|
||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(676, 360);
|
||
Controls.Add(groupBox6);
|
||
Controls.Add(groupBox5);
|
||
Controls.Add(groupBox4);
|
||
Controls.Add(groupBox3);
|
||
Controls.Add(groupBox2);
|
||
Controls.Add(groupBox1);
|
||
Name = "Form1";
|
||
Text = "Form1";
|
||
groupBox1.ResumeLayout(false);
|
||
groupBox1.PerformLayout();
|
||
groupBox2.ResumeLayout(false);
|
||
groupBox2.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)numericMax).EndInit();
|
||
((System.ComponentModel.ISupportInitialize)numericMin).EndInit();
|
||
groupBox3.ResumeLayout(false);
|
||
groupBox3.PerformLayout();
|
||
groupBox4.ResumeLayout(false);
|
||
groupBox5.ResumeLayout(false);
|
||
groupBox6.ResumeLayout(false);
|
||
ResumeLayout(false);
|
||
}
|
||
|
||
#endregion
|
||
|
||
private Button input;
|
||
private Button clear;
|
||
private TextBox textBox1;
|
||
private Button set;
|
||
private Button get;
|
||
private ComponentLibrary1.CheckList checkList;
|
||
private CheckBox changeBox;
|
||
private GroupBox groupBox1;
|
||
private GroupBox groupBox2;
|
||
private Button write;
|
||
private Button read;
|
||
private TextBox textBox2;
|
||
private CheckBox changeBox2;
|
||
private ComponentLibrary1.LimitedText limitedText;
|
||
private Button inputMax;
|
||
private Button inputMin;
|
||
private NumericUpDown numericMin;
|
||
private NumericUpDown numericMax;
|
||
private GroupBox groupBox3;
|
||
private Button add;
|
||
private Button clearTreeList;
|
||
private TextBox textBoxFullName;
|
||
private Button getObject;
|
||
private TextBox textBoxDepartment;
|
||
private TextBox textBoxJobTitle;
|
||
private ComponentLibrary1.tree_list.TreeList treeList;
|
||
private TextBox textBoxOutput;
|
||
private GroupBox groupBox4;
|
||
private Button chooseImage;
|
||
private Button createPdfImages;
|
||
private ListBox listBoxImages;
|
||
private ComponentLibrary1.pdf_image.PdfImage pdfImage;
|
||
private GroupBox groupBox5;
|
||
private Button createTable;
|
||
private ComponentLibrary1.pdf_table.PdfTable pdfTable;
|
||
private ComponentLibrary1.pdf_diagram.PdfDiagram pdfDiagram;
|
||
private GroupBox groupBox6;
|
||
private Button createDiagram;
|
||
}
|
||
}
|