2024-09-05 18:48:14 +04:00
|
|
|
|
namespace WinForms
|
|
|
|
|
{
|
2024-09-06 04:27:34 +04:00
|
|
|
|
partial class FormVisualComponents
|
2024-09-05 18:48:14 +04:00
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
2024-09-05 18:58:41 +04:00
|
|
|
|
groupBox1 = new GroupBox();
|
|
|
|
|
labelItem = new Label();
|
|
|
|
|
buttonGetItem = new Button();
|
|
|
|
|
buttonClearItems = new Button();
|
|
|
|
|
buttonAddItems = new Button();
|
|
|
|
|
customComboBox = new Components.VisualComponents.CustomComboBox();
|
|
|
|
|
groupBox2 = new GroupBox();
|
|
|
|
|
buttonSetDateExample = new Button();
|
|
|
|
|
textBoxDateExample = new TextBox();
|
|
|
|
|
checkBoxValidate = new CheckBox();
|
|
|
|
|
buttonValidate = new Button();
|
|
|
|
|
customTextBox = new Components.VisualComponents.CustomTextBox();
|
|
|
|
|
groupBox3 = new GroupBox();
|
|
|
|
|
labelObjectInfo = new Label();
|
|
|
|
|
buttonGetObject = new Button();
|
|
|
|
|
buttonAddObjects = new Button();
|
|
|
|
|
customListBox = new Components.VisualComponents.CustomListBox();
|
|
|
|
|
groupBox1.SuspendLayout();
|
|
|
|
|
groupBox2.SuspendLayout();
|
|
|
|
|
groupBox3.SuspendLayout();
|
2024-09-05 18:48:14 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2024-09-05 18:58:41 +04:00
|
|
|
|
// groupBox1
|
|
|
|
|
//
|
|
|
|
|
groupBox1.Controls.Add(labelItem);
|
|
|
|
|
groupBox1.Controls.Add(buttonGetItem);
|
|
|
|
|
groupBox1.Controls.Add(buttonClearItems);
|
|
|
|
|
groupBox1.Controls.Add(buttonAddItems);
|
|
|
|
|
groupBox1.Controls.Add(customComboBox);
|
|
|
|
|
groupBox1.Dock = DockStyle.Left;
|
|
|
|
|
groupBox1.Location = new Point(0, 0);
|
|
|
|
|
groupBox1.Name = "groupBox1";
|
|
|
|
|
groupBox1.Size = new Size(275, 461);
|
|
|
|
|
groupBox1.TabIndex = 0;
|
|
|
|
|
groupBox1.TabStop = false;
|
|
|
|
|
groupBox1.Text = "Тест для ComboBox";
|
|
|
|
|
//
|
|
|
|
|
// labelItem
|
|
|
|
|
//
|
|
|
|
|
labelItem.AutoSize = true;
|
|
|
|
|
labelItem.BorderStyle = BorderStyle.Fixed3D;
|
|
|
|
|
labelItem.Font = new Font("Segoe UI", 11F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
labelItem.Location = new Point(143, 140);
|
|
|
|
|
labelItem.Name = "labelItem";
|
|
|
|
|
labelItem.Size = new Size(70, 22);
|
|
|
|
|
labelItem.TabIndex = 4;
|
|
|
|
|
labelItem.Text = "Элемент";
|
|
|
|
|
//
|
|
|
|
|
// buttonGetItem
|
|
|
|
|
//
|
|
|
|
|
buttonGetItem.Location = new Point(12, 139);
|
|
|
|
|
buttonGetItem.Name = "buttonGetItem";
|
|
|
|
|
buttonGetItem.Size = new Size(125, 23);
|
|
|
|
|
buttonGetItem.TabIndex = 3;
|
|
|
|
|
buttonGetItem.Text = "Получить элемент";
|
|
|
|
|
buttonGetItem.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGetItem.Click += buttonGetItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonClearItems
|
|
|
|
|
//
|
|
|
|
|
buttonClearItems.Location = new Point(12, 110);
|
|
|
|
|
buttonClearItems.Name = "buttonClearItems";
|
|
|
|
|
buttonClearItems.Size = new Size(125, 23);
|
|
|
|
|
buttonClearItems.TabIndex = 2;
|
|
|
|
|
buttonClearItems.Text = "Очистить элементы";
|
|
|
|
|
buttonClearItems.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonClearItems.Click += buttonClearItems_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddItems
|
|
|
|
|
//
|
|
|
|
|
buttonAddItems.Location = new Point(12, 81);
|
|
|
|
|
buttonAddItems.Name = "buttonAddItems";
|
|
|
|
|
buttonAddItems.Size = new Size(125, 23);
|
|
|
|
|
buttonAddItems.TabIndex = 1;
|
|
|
|
|
buttonAddItems.Text = "Добавить элементы";
|
|
|
|
|
buttonAddItems.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddItems.Click += buttonAddItems_Click;
|
|
|
|
|
//
|
|
|
|
|
// customComboBox
|
|
|
|
|
//
|
|
|
|
|
customComboBox.Location = new Point(12, 22);
|
|
|
|
|
customComboBox.Name = "customComboBox";
|
|
|
|
|
customComboBox.SelectedItem = "";
|
|
|
|
|
customComboBox.Size = new Size(257, 53);
|
|
|
|
|
customComboBox.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// groupBox2
|
|
|
|
|
//
|
|
|
|
|
groupBox2.Controls.Add(buttonSetDateExample);
|
|
|
|
|
groupBox2.Controls.Add(textBoxDateExample);
|
|
|
|
|
groupBox2.Controls.Add(checkBoxValidate);
|
|
|
|
|
groupBox2.Controls.Add(buttonValidate);
|
|
|
|
|
groupBox2.Controls.Add(customTextBox);
|
|
|
|
|
groupBox2.Dock = DockStyle.Left;
|
|
|
|
|
groupBox2.Location = new Point(275, 0);
|
|
|
|
|
groupBox2.Name = "groupBox2";
|
|
|
|
|
groupBox2.Size = new Size(253, 461);
|
|
|
|
|
groupBox2.TabIndex = 1;
|
|
|
|
|
groupBox2.TabStop = false;
|
|
|
|
|
groupBox2.Text = "Тест для TextBox";
|
|
|
|
|
//
|
|
|
|
|
// buttonSetDateExample
|
|
|
|
|
//
|
|
|
|
|
buttonSetDateExample.Location = new Point(64, 168);
|
|
|
|
|
buttonSetDateExample.Name = "buttonSetDateExample";
|
|
|
|
|
buttonSetDateExample.Size = new Size(125, 23);
|
|
|
|
|
buttonSetDateExample.TabIndex = 4;
|
|
|
|
|
buttonSetDateExample.Text = "Изменить пример";
|
|
|
|
|
buttonSetDateExample.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSetDateExample.Click += buttonSetDateExample_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxDateExample
|
|
|
|
|
//
|
|
|
|
|
textBoxDateExample.Location = new Point(6, 139);
|
|
|
|
|
textBoxDateExample.Name = "textBoxDateExample";
|
|
|
|
|
textBoxDateExample.PlaceholderText = "01.01.1970";
|
|
|
|
|
textBoxDateExample.Size = new Size(241, 23);
|
|
|
|
|
textBoxDateExample.TabIndex = 3;
|
|
|
|
|
//
|
|
|
|
|
// checkBoxValidate
|
|
|
|
|
//
|
|
|
|
|
checkBoxValidate.AutoSize = true;
|
|
|
|
|
checkBoxValidate.Enabled = false;
|
|
|
|
|
checkBoxValidate.Location = new Point(167, 84);
|
|
|
|
|
checkBoxValidate.Name = "checkBoxValidate";
|
|
|
|
|
checkBoxValidate.RightToLeft = RightToLeft.No;
|
|
|
|
|
checkBoxValidate.Size = new Size(80, 19);
|
|
|
|
|
checkBoxValidate.TabIndex = 2;
|
|
|
|
|
checkBoxValidate.Text = "Проверка";
|
|
|
|
|
checkBoxValidate.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
|
|
|
|
// buttonValidate
|
|
|
|
|
//
|
|
|
|
|
buttonValidate.Location = new Point(6, 81);
|
|
|
|
|
buttonValidate.Name = "buttonValidate";
|
|
|
|
|
buttonValidate.Size = new Size(75, 23);
|
|
|
|
|
buttonValidate.TabIndex = 1;
|
|
|
|
|
buttonValidate.Text = "Проверка";
|
|
|
|
|
buttonValidate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonValidate.Click += buttonValidate_Click;
|
|
|
|
|
//
|
|
|
|
|
// customTextBox
|
|
|
|
|
//
|
|
|
|
|
customTextBox.DatePattern = null;
|
|
|
|
|
customTextBox.Location = new Point(6, 22);
|
|
|
|
|
customTextBox.Name = "customTextBox";
|
|
|
|
|
customTextBox.Size = new Size(241, 53);
|
|
|
|
|
customTextBox.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// groupBox3
|
|
|
|
|
//
|
|
|
|
|
groupBox3.Controls.Add(labelObjectInfo);
|
|
|
|
|
groupBox3.Controls.Add(buttonGetObject);
|
|
|
|
|
groupBox3.Controls.Add(buttonAddObjects);
|
|
|
|
|
groupBox3.Controls.Add(customListBox);
|
|
|
|
|
groupBox3.Dock = DockStyle.Right;
|
|
|
|
|
groupBox3.Location = new Point(534, 0);
|
|
|
|
|
groupBox3.Name = "groupBox3";
|
|
|
|
|
groupBox3.Size = new Size(350, 461);
|
|
|
|
|
groupBox3.TabIndex = 2;
|
|
|
|
|
groupBox3.TabStop = false;
|
|
|
|
|
groupBox3.Text = "Тест для ListBox";
|
|
|
|
|
//
|
|
|
|
|
// labelObjectInfo
|
|
|
|
|
//
|
|
|
|
|
labelObjectInfo.AutoSize = true;
|
|
|
|
|
labelObjectInfo.BorderStyle = BorderStyle.Fixed3D;
|
|
|
|
|
labelObjectInfo.Font = new Font("Segoe UI", 11F, FontStyle.Regular, GraphicsUnit.Point);
|
|
|
|
|
labelObjectInfo.Location = new Point(132, 426);
|
|
|
|
|
labelObjectInfo.Name = "labelObjectInfo";
|
|
|
|
|
labelObjectInfo.Size = new Size(190, 22);
|
|
|
|
|
labelObjectInfo.TabIndex = 3;
|
|
|
|
|
labelObjectInfo.Text = " Информация об объекте";
|
|
|
|
|
//
|
|
|
|
|
// buttonGetObject
|
|
|
|
|
//
|
|
|
|
|
buttonGetObject.Location = new Point(6, 426);
|
|
|
|
|
buttonGetObject.Name = "buttonGetObject";
|
|
|
|
|
buttonGetObject.Size = new Size(120, 23);
|
|
|
|
|
buttonGetObject.TabIndex = 2;
|
|
|
|
|
buttonGetObject.Text = "Получить объект";
|
|
|
|
|
buttonGetObject.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGetObject.Click += buttonGetObject_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddObjects
|
|
|
|
|
//
|
|
|
|
|
buttonAddObjects.Location = new Point(6, 397);
|
|
|
|
|
buttonAddObjects.Name = "buttonAddObjects";
|
|
|
|
|
buttonAddObjects.Size = new Size(120, 23);
|
|
|
|
|
buttonAddObjects.TabIndex = 1;
|
|
|
|
|
buttonAddObjects.Text = "Добавить объекты";
|
|
|
|
|
buttonAddObjects.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddObjects.Click += buttonAddObjects_Click;
|
|
|
|
|
//
|
|
|
|
|
// customListBox
|
|
|
|
|
//
|
|
|
|
|
customListBox.Location = new Point(6, 22);
|
|
|
|
|
customListBox.Name = "customListBox";
|
|
|
|
|
customListBox.SelectedIndex = -1;
|
|
|
|
|
customListBox.Size = new Size(332, 369);
|
|
|
|
|
customListBox.TabIndex = 0;
|
|
|
|
|
//
|
2024-09-06 04:27:34 +04:00
|
|
|
|
// FormVisualComponents
|
2024-09-05 18:48:14 +04:00
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-09-05 18:58:41 +04:00
|
|
|
|
ClientSize = new Size(884, 461);
|
|
|
|
|
Controls.Add(groupBox3);
|
|
|
|
|
Controls.Add(groupBox2);
|
|
|
|
|
Controls.Add(groupBox1);
|
2024-09-06 04:27:34 +04:00
|
|
|
|
Name = "FormVisualComponents";
|
|
|
|
|
Text = "Визуальные компоненты";
|
2024-09-05 18:58:41 +04:00
|
|
|
|
groupBox1.ResumeLayout(false);
|
|
|
|
|
groupBox1.PerformLayout();
|
|
|
|
|
groupBox2.ResumeLayout(false);
|
|
|
|
|
groupBox2.PerformLayout();
|
|
|
|
|
groupBox3.ResumeLayout(false);
|
|
|
|
|
groupBox3.PerformLayout();
|
2024-09-05 18:48:14 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-09-05 18:58:41 +04:00
|
|
|
|
|
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
|
private GroupBox groupBox2;
|
|
|
|
|
private GroupBox groupBox3;
|
|
|
|
|
private Button buttonAddObjects;
|
|
|
|
|
private Components.VisualComponents.CustomListBox customListBox;
|
|
|
|
|
private Label labelObjectInfo;
|
|
|
|
|
private Button buttonGetObject;
|
|
|
|
|
private Button buttonAddItems;
|
|
|
|
|
private Components.VisualComponents.CustomComboBox customComboBox;
|
|
|
|
|
private Button buttonGetItem;
|
|
|
|
|
private Button buttonClearItems;
|
|
|
|
|
private Label labelItem;
|
|
|
|
|
private CheckBox checkBoxValidate;
|
|
|
|
|
private Button buttonValidate;
|
|
|
|
|
private Components.VisualComponents.CustomTextBox customTextBox;
|
|
|
|
|
private Button buttonSetDateExample;
|
|
|
|
|
private TextBox textBoxDateExample;
|
2024-09-05 18:48:14 +04:00
|
|
|
|
}
|
|
|
|
|
}
|