109 lines
2.9 KiB
C#
109 lines
2.9 KiB
C#
namespace WinForms
|
|
{
|
|
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()
|
|
{
|
|
dropDownList = new VisualComponentsLib.MyDropDownList();
|
|
buttonAdd = new Button();
|
|
buttonInfo = new Button();
|
|
labelInfo = new Label();
|
|
buttonClear = new Button();
|
|
SuspendLayout();
|
|
//
|
|
// dropDownList
|
|
//
|
|
dropDownList.Location = new Point(3, 3);
|
|
dropDownList.Margin = new Padding(3, 4, 3, 4);
|
|
dropDownList.Name = "dropDownList";
|
|
dropDownList.SelectedValue = "";
|
|
dropDownList.Size = new Size(196, 36);
|
|
dropDownList.TabIndex = 0;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(3, 46);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(92, 29);
|
|
buttonAdd.TabIndex = 1;
|
|
buttonAdd.Text = "добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += buttonAdd_Click;
|
|
//
|
|
// buttonInfo
|
|
//
|
|
buttonInfo.Location = new Point(211, 46);
|
|
buttonInfo.Name = "buttonInfo";
|
|
buttonInfo.Size = new Size(94, 29);
|
|
buttonInfo.TabIndex = 2;
|
|
buttonInfo.Text = "показать";
|
|
buttonInfo.UseVisualStyleBackColor = true;
|
|
buttonInfo.Click += buttonInfo_Click;
|
|
//
|
|
// labelInfo
|
|
//
|
|
labelInfo.AutoSize = true;
|
|
labelInfo.Location = new Point(205, 9);
|
|
labelInfo.Name = "labelInfo";
|
|
labelInfo.Size = new Size(154, 20);
|
|
labelInfo.TabIndex = 3;
|
|
labelInfo.Text = "Выбранный элемент";
|
|
//
|
|
// buttonClear
|
|
//
|
|
buttonClear.Location = new Point(101, 46);
|
|
buttonClear.Name = "buttonClear";
|
|
buttonClear.Size = new Size(94, 29);
|
|
buttonClear.TabIndex = 4;
|
|
buttonClear.Text = "очистить";
|
|
buttonClear.UseVisualStyleBackColor = true;
|
|
buttonClear.Click += buttonClear_Click;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(800, 450);
|
|
Controls.Add(dropDownList);
|
|
Controls.Add(buttonAdd);
|
|
Controls.Add(buttonInfo);
|
|
Controls.Add(labelInfo);
|
|
Controls.Add(buttonClear);
|
|
Name = "Form1";
|
|
Text = "Form1";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
private VisualComponentsLib.MyDropDownList dropDownList;
|
|
private Button buttonAdd;
|
|
private Button buttonInfo;
|
|
private Label labelInfo;
|
|
private Button buttonClear;
|
|
}
|
|
} |