335 lines
11 KiB
C#
335 lines
11 KiB
C#
namespace WinFormsApp1
|
|
{
|
|
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();
|
|
customCheckedListBox = new WinFormsLibrary1.CustomCheckedListBox();
|
|
addInListboxItemButton = new Button();
|
|
clearListboxButton = new Button();
|
|
listboxItemValuetextBox = new TextBox();
|
|
getSelectedItemButton = new Button();
|
|
selectedItemLabel = new Label();
|
|
customTextBox = new WinFormsLibrary1.CustomTextBox();
|
|
errorCustomTextBoxLabel = new Label();
|
|
checkCustomTextBoxButton = new Button();
|
|
customDataTree = new WinFormsLibrary1.CustomDataTree();
|
|
label1 = new Label();
|
|
nameTextBox = new TextBox();
|
|
label2 = new Label();
|
|
positionTextBox = new TextBox();
|
|
label3 = new Label();
|
|
addEmployeeButton = new Button();
|
|
departamentComboBox = new ComboBox();
|
|
getSelectedTreeItemButton = new Button();
|
|
pdfWithImages1 = new WinFormsLibrary1.PdfWithImages(components);
|
|
listBoxImages = new ListBox();
|
|
button1 = new Button();
|
|
createPdfButton = new Button();
|
|
pdfTableButton = new Button();
|
|
pdfDiagramButton = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// customCheckedListBox
|
|
//
|
|
customCheckedListBox.Location = new Point(25, 9);
|
|
customCheckedListBox.Margin = new Padding(3, 2, 3, 2);
|
|
customCheckedListBox.Name = "customCheckedListBox";
|
|
customCheckedListBox.SelectedElement = "";
|
|
customCheckedListBox.Size = new Size(130, 156);
|
|
customCheckedListBox.TabIndex = 0;
|
|
//
|
|
// addInListboxItemButton
|
|
//
|
|
addInListboxItemButton.Location = new Point(175, 35);
|
|
addInListboxItemButton.Margin = new Padding(3, 2, 3, 2);
|
|
addInListboxItemButton.Name = "addInListboxItemButton";
|
|
addInListboxItemButton.Size = new Size(130, 28);
|
|
addInListboxItemButton.TabIndex = 1;
|
|
addInListboxItemButton.Text = "Add or select item";
|
|
addInListboxItemButton.UseVisualStyleBackColor = true;
|
|
addInListboxItemButton.Click += addInListboxItemButton_Click;
|
|
//
|
|
// clearListboxButton
|
|
//
|
|
clearListboxButton.Location = new Point(175, 68);
|
|
clearListboxButton.Margin = new Padding(3, 2, 3, 2);
|
|
clearListboxButton.Name = "clearListboxButton";
|
|
clearListboxButton.Size = new Size(130, 28);
|
|
clearListboxButton.TabIndex = 2;
|
|
clearListboxButton.Text = "Clear listbox";
|
|
clearListboxButton.UseVisualStyleBackColor = true;
|
|
clearListboxButton.Click += clearListboxButton_Click;
|
|
//
|
|
// listboxItemValuetextBox
|
|
//
|
|
listboxItemValuetextBox.Location = new Point(175, 9);
|
|
listboxItemValuetextBox.Margin = new Padding(3, 2, 3, 2);
|
|
listboxItemValuetextBox.Name = "listboxItemValuetextBox";
|
|
listboxItemValuetextBox.Size = new Size(131, 23);
|
|
listboxItemValuetextBox.TabIndex = 3;
|
|
//
|
|
// getSelectedItemButton
|
|
//
|
|
getSelectedItemButton.Location = new Point(175, 125);
|
|
getSelectedItemButton.Margin = new Padding(3, 2, 3, 2);
|
|
getSelectedItemButton.Name = "getSelectedItemButton";
|
|
getSelectedItemButton.Size = new Size(130, 32);
|
|
getSelectedItemButton.TabIndex = 4;
|
|
getSelectedItemButton.Text = "Get selected item";
|
|
getSelectedItemButton.UseVisualStyleBackColor = true;
|
|
getSelectedItemButton.Click += getSelectedItemButton_Click;
|
|
//
|
|
// selectedItemLabel
|
|
//
|
|
selectedItemLabel.AutoSize = true;
|
|
selectedItemLabel.Location = new Point(175, 108);
|
|
selectedItemLabel.Name = "selectedItemLabel";
|
|
selectedItemLabel.Size = new Size(84, 15);
|
|
selectedItemLabel.TabIndex = 5;
|
|
selectedItemLabel.Text = "Selected item: ";
|
|
//
|
|
// customTextBox
|
|
//
|
|
customTextBox.Location = new Point(370, 9);
|
|
customTextBox.Margin = new Padding(3, 2, 3, 2);
|
|
customTextBox.MaxLength = 5;
|
|
customTextBox.MinLength = 0;
|
|
customTextBox.Name = "customTextBox";
|
|
customTextBox.Size = new Size(208, 23);
|
|
customTextBox.TabIndex = 6;
|
|
customTextBox.Value = "";
|
|
//
|
|
// errorCustomTextBoxLabel
|
|
//
|
|
errorCustomTextBoxLabel.AutoSize = true;
|
|
errorCustomTextBoxLabel.Location = new Point(370, 68);
|
|
errorCustomTextBoxLabel.Name = "errorCustomTextBoxLabel";
|
|
errorCustomTextBoxLabel.Size = new Size(0, 15);
|
|
errorCustomTextBoxLabel.TabIndex = 7;
|
|
//
|
|
// checkCustomTextBoxButton
|
|
//
|
|
checkCustomTextBoxButton.Location = new Point(370, 35);
|
|
checkCustomTextBoxButton.Margin = new Padding(3, 2, 3, 2);
|
|
checkCustomTextBoxButton.Name = "checkCustomTextBoxButton";
|
|
checkCustomTextBoxButton.Size = new Size(208, 28);
|
|
checkCustomTextBoxButton.TabIndex = 8;
|
|
checkCustomTextBoxButton.Text = "Check";
|
|
checkCustomTextBoxButton.UseVisualStyleBackColor = true;
|
|
checkCustomTextBoxButton.Click += checkCustomTextBoxButton_Click;
|
|
//
|
|
// customDataTree
|
|
//
|
|
customDataTree.Location = new Point(25, 189);
|
|
customDataTree.Name = "customDataTree";
|
|
customDataTree.Size = new Size(281, 193);
|
|
customDataTree.TabIndex = 9;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(342, 277);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(39, 15);
|
|
label1.TabIndex = 10;
|
|
label1.Text = "Name";
|
|
//
|
|
// nameTextBox
|
|
//
|
|
nameTextBox.Location = new Point(343, 295);
|
|
nameTextBox.Name = "nameTextBox";
|
|
nameTextBox.Size = new Size(152, 23);
|
|
nameTextBox.TabIndex = 11;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(342, 233);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(50, 15);
|
|
label2.TabIndex = 12;
|
|
label2.Text = "Position";
|
|
//
|
|
// positionTextBox
|
|
//
|
|
positionTextBox.Location = new Point(343, 251);
|
|
positionTextBox.Name = "positionTextBox";
|
|
positionTextBox.Size = new Size(152, 23);
|
|
positionTextBox.TabIndex = 13;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(343, 189);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(76, 15);
|
|
label3.TabIndex = 14;
|
|
label3.Text = "Departament";
|
|
//
|
|
// addEmployeeButton
|
|
//
|
|
addEmployeeButton.Location = new Point(342, 324);
|
|
addEmployeeButton.Name = "addEmployeeButton";
|
|
addEmployeeButton.Size = new Size(152, 22);
|
|
addEmployeeButton.TabIndex = 15;
|
|
addEmployeeButton.Text = "Add employee";
|
|
addEmployeeButton.UseVisualStyleBackColor = true;
|
|
addEmployeeButton.Click += addEmployeeButton_Click;
|
|
//
|
|
// departamentComboBox
|
|
//
|
|
departamentComboBox.FormattingEnabled = true;
|
|
departamentComboBox.Location = new Point(342, 207);
|
|
departamentComboBox.Name = "departamentComboBox";
|
|
departamentComboBox.Size = new Size(152, 23);
|
|
departamentComboBox.TabIndex = 16;
|
|
//
|
|
// getSelectedTreeItemButton
|
|
//
|
|
getSelectedTreeItemButton.Location = new Point(342, 352);
|
|
getSelectedTreeItemButton.Name = "getSelectedTreeItemButton";
|
|
getSelectedTreeItemButton.Size = new Size(152, 30);
|
|
getSelectedTreeItemButton.TabIndex = 17;
|
|
getSelectedTreeItemButton.Text = "Get selected";
|
|
getSelectedTreeItemButton.UseVisualStyleBackColor = true;
|
|
getSelectedTreeItemButton.Click += getSelectedTreeItemButton_Click;
|
|
//
|
|
// listBoxImages
|
|
//
|
|
listBoxImages.FormattingEnabled = true;
|
|
listBoxImages.ItemHeight = 15;
|
|
listBoxImages.Location = new Point(25, 398);
|
|
listBoxImages.Name = "listBoxImages";
|
|
listBoxImages.Size = new Size(280, 124);
|
|
listBoxImages.TabIndex = 18;
|
|
//
|
|
// button1
|
|
//
|
|
button1.Location = new Point(25, 528);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(139, 23);
|
|
button1.TabIndex = 19;
|
|
button1.Text = "Выбрать изображения";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// createPdfButton
|
|
//
|
|
createPdfButton.Location = new Point(170, 528);
|
|
createPdfButton.Name = "createPdfButton";
|
|
createPdfButton.Size = new Size(135, 23);
|
|
createPdfButton.TabIndex = 20;
|
|
createPdfButton.Text = "Создать PDF";
|
|
createPdfButton.UseVisualStyleBackColor = true;
|
|
createPdfButton.Click += createPdfButton_Click;
|
|
//
|
|
// pdfTableButton
|
|
//
|
|
pdfTableButton.Location = new Point(342, 398);
|
|
pdfTableButton.Name = "pdfTableButton";
|
|
pdfTableButton.Size = new Size(152, 23);
|
|
pdfTableButton.TabIndex = 21;
|
|
pdfTableButton.Text = "Создать таблицу в PDF";
|
|
pdfTableButton.UseVisualStyleBackColor = true;
|
|
pdfTableButton.Click += pdfTableButton_Click;
|
|
//
|
|
// pdfDiagramButton
|
|
//
|
|
pdfDiagramButton.Location = new Point(342, 427);
|
|
pdfDiagramButton.Name = "pdfDiagramButton";
|
|
pdfDiagramButton.Size = new Size(152, 23);
|
|
pdfDiagramButton.TabIndex = 22;
|
|
pdfDiagramButton.Text = "Создать диаграмму";
|
|
pdfDiagramButton.UseVisualStyleBackColor = true;
|
|
pdfDiagramButton.Click += pdfDiagramButton_Click;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(700, 566);
|
|
Controls.Add(pdfDiagramButton);
|
|
Controls.Add(pdfTableButton);
|
|
Controls.Add(createPdfButton);
|
|
Controls.Add(button1);
|
|
Controls.Add(listBoxImages);
|
|
Controls.Add(getSelectedTreeItemButton);
|
|
Controls.Add(departamentComboBox);
|
|
Controls.Add(addEmployeeButton);
|
|
Controls.Add(label3);
|
|
Controls.Add(positionTextBox);
|
|
Controls.Add(label2);
|
|
Controls.Add(nameTextBox);
|
|
Controls.Add(label1);
|
|
Controls.Add(customDataTree);
|
|
Controls.Add(checkCustomTextBoxButton);
|
|
Controls.Add(errorCustomTextBoxLabel);
|
|
Controls.Add(customTextBox);
|
|
Controls.Add(selectedItemLabel);
|
|
Controls.Add(getSelectedItemButton);
|
|
Controls.Add(listboxItemValuetextBox);
|
|
Controls.Add(clearListboxButton);
|
|
Controls.Add(addInListboxItemButton);
|
|
Controls.Add(customCheckedListBox);
|
|
Margin = new Padding(3, 2, 3, 2);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private WinFormsLibrary1.CustomCheckedListBox customCheckedListBox;
|
|
private Button addInListboxItemButton;
|
|
private Button clearListboxButton;
|
|
private TextBox listboxItemValuetextBox;
|
|
private Button getSelectedItemButton;
|
|
private Label selectedItemLabel;
|
|
private WinFormsLibrary1.CustomTextBox customTextBox;
|
|
private Label errorCustomTextBoxLabel;
|
|
private Button checkCustomTextBoxButton;
|
|
private WinFormsLibrary1.CustomDataTree customDataTree;
|
|
private Label label1;
|
|
private TextBox nameTextBox;
|
|
private Label label2;
|
|
private TextBox positionTextBox;
|
|
private Label label3;
|
|
private Button addEmployeeButton;
|
|
private ComboBox departamentComboBox;
|
|
private Button getSelectedTreeItemButton;
|
|
private WinFormsLibrary1.PdfWithImages pdfWithImages1;
|
|
private ListBox listBoxImages;
|
|
private Button button1;
|
|
private Button createPdfButton;
|
|
private Button pdfTableButton;
|
|
private Button pdfDiagramButton;
|
|
}
|
|
}
|