164 lines
5.1 KiB
C#
164 lines
5.1 KiB
C#
|
namespace FormsTesting
|
|||
|
{
|
|||
|
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()
|
|||
|
{
|
|||
|
SelectComponent = new ShabComponentsLibrary.ShabSelectComponent();
|
|||
|
InputComponent = new ShabComponentsLibrary.ShabInputComponent();
|
|||
|
GridComponent = new ShabComponentsLibrary.ShabListOutputComponent();
|
|||
|
groupBox1 = new GroupBox();
|
|||
|
ClearListButton = new Button();
|
|||
|
groupBox2 = new GroupBox();
|
|||
|
ShowIntButton = new Button();
|
|||
|
groupBox3 = new GroupBox();
|
|||
|
PrintObjectButton = new Button();
|
|||
|
groupBox1.SuspendLayout();
|
|||
|
groupBox2.SuspendLayout();
|
|||
|
groupBox3.SuspendLayout();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// SelectComponent
|
|||
|
//
|
|||
|
SelectComponent.Location = new Point(6, 22);
|
|||
|
SelectComponent.Margin = new Padding(0);
|
|||
|
SelectComponent.Name = "SelectComponent";
|
|||
|
SelectComponent.SelectedItem = "";
|
|||
|
SelectComponent.Size = new Size(200, 86);
|
|||
|
SelectComponent.TabIndex = 0;
|
|||
|
SelectComponent.ItemSelected += SelectComponent_ItemSelected;
|
|||
|
//
|
|||
|
// InputComponent
|
|||
|
//
|
|||
|
InputComponent.Location = new Point(6, 22);
|
|||
|
InputComponent.Margin = new Padding(0);
|
|||
|
InputComponent.Name = "InputComponent";
|
|||
|
InputComponent.Size = new Size(182, 30);
|
|||
|
InputComponent.TabIndex = 1;
|
|||
|
InputComponent.ValueChanged += InputComponent_ValueChanged;
|
|||
|
//
|
|||
|
// GridComponent
|
|||
|
//
|
|||
|
GridComponent.Location = new Point(6, 22);
|
|||
|
GridComponent.Name = "GridComponent";
|
|||
|
GridComponent.SelectedRow = -1;
|
|||
|
GridComponent.Size = new Size(505, 213);
|
|||
|
GridComponent.TabIndex = 2;
|
|||
|
//
|
|||
|
// groupBox1
|
|||
|
//
|
|||
|
groupBox1.Controls.Add(ClearListButton);
|
|||
|
groupBox1.Controls.Add(SelectComponent);
|
|||
|
groupBox1.Location = new Point(12, 12);
|
|||
|
groupBox1.Name = "groupBox1";
|
|||
|
groupBox1.Size = new Size(407, 113);
|
|||
|
groupBox1.TabIndex = 3;
|
|||
|
groupBox1.TabStop = false;
|
|||
|
groupBox1.Text = "Компонент выбора";
|
|||
|
//
|
|||
|
// ClearListButton
|
|||
|
//
|
|||
|
ClearListButton.Location = new Point(215, 38);
|
|||
|
ClearListButton.Name = "ClearListButton";
|
|||
|
ClearListButton.Size = new Size(107, 48);
|
|||
|
ClearListButton.TabIndex = 1;
|
|||
|
ClearListButton.Text = "Очистить";
|
|||
|
ClearListButton.UseVisualStyleBackColor = true;
|
|||
|
ClearListButton.Click += ClearListButton_Click;
|
|||
|
//
|
|||
|
// groupBox2
|
|||
|
//
|
|||
|
groupBox2.Controls.Add(ShowIntButton);
|
|||
|
groupBox2.Controls.Add(InputComponent);
|
|||
|
groupBox2.Location = new Point(12, 143);
|
|||
|
groupBox2.Name = "groupBox2";
|
|||
|
groupBox2.Size = new Size(293, 100);
|
|||
|
groupBox2.TabIndex = 4;
|
|||
|
groupBox2.TabStop = false;
|
|||
|
groupBox2.Text = "Компонент ввода";
|
|||
|
//
|
|||
|
// ShowIntButton
|
|||
|
//
|
|||
|
ShowIntButton.Location = new Point(6, 58);
|
|||
|
ShowIntButton.Name = "ShowIntButton";
|
|||
|
ShowIntButton.Size = new Size(172, 36);
|
|||
|
ShowIntButton.TabIndex = 2;
|
|||
|
ShowIntButton.Text = "Вывести на экран";
|
|||
|
ShowIntButton.UseVisualStyleBackColor = true;
|
|||
|
ShowIntButton.Click += ShowIntButton_Click;
|
|||
|
//
|
|||
|
// groupBox3
|
|||
|
//
|
|||
|
groupBox3.Controls.Add(PrintObjectButton);
|
|||
|
groupBox3.Controls.Add(GridComponent);
|
|||
|
groupBox3.Location = new Point(12, 260);
|
|||
|
groupBox3.Name = "groupBox3";
|
|||
|
groupBox3.Size = new Size(517, 280);
|
|||
|
groupBox3.TabIndex = 5;
|
|||
|
groupBox3.TabStop = false;
|
|||
|
groupBox3.Text = "Компонент вывода списков";
|
|||
|
//
|
|||
|
// PrintObjectButton
|
|||
|
//
|
|||
|
PrintObjectButton.Location = new Point(6, 241);
|
|||
|
PrintObjectButton.Name = "PrintObjectButton";
|
|||
|
PrintObjectButton.Size = new Size(182, 33);
|
|||
|
PrintObjectButton.TabIndex = 3;
|
|||
|
PrintObjectButton.Text = "Вывести выбранный объект";
|
|||
|
PrintObjectButton.UseVisualStyleBackColor = true;
|
|||
|
PrintObjectButton.Click += PrintObjectButton_Click;
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(637, 581);
|
|||
|
Controls.Add(groupBox3);
|
|||
|
Controls.Add(groupBox2);
|
|||
|
Controls.Add(groupBox1);
|
|||
|
Name = "Form1";
|
|||
|
Text = "Тест компонентов";
|
|||
|
groupBox1.ResumeLayout(false);
|
|||
|
groupBox2.ResumeLayout(false);
|
|||
|
groupBox3.ResumeLayout(false);
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private ShabComponentsLibrary.ShabSelectComponent SelectComponent;
|
|||
|
private ShabComponentsLibrary.ShabInputComponent InputComponent;
|
|||
|
private ShabComponentsLibrary.ShabListOutputComponent GridComponent;
|
|||
|
private GroupBox groupBox1;
|
|||
|
private Button ClearListButton;
|
|||
|
private GroupBox groupBox2;
|
|||
|
private Button ShowIntButton;
|
|||
|
private GroupBox groupBox3;
|
|||
|
private Button PrintObjectButton;
|
|||
|
}
|
|||
|
}
|