2023-09-13 18:53:06 +04:00
|
|
|
|
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()
|
|
|
|
|
{
|
2023-09-15 19:31:01 +04:00
|
|
|
|
dropDownList = new VisualComponentsLib.MyDropDownList();
|
|
|
|
|
buttonAdd = new Button();
|
|
|
|
|
buttonInfo = new Button();
|
|
|
|
|
labelInfo = new Label();
|
|
|
|
|
buttonClear = new Button();
|
2023-09-15 21:10:27 +04:00
|
|
|
|
emailTextBox = new VisualComponentsLib.MyEmailTextBox();
|
|
|
|
|
labelShow = new Label();
|
|
|
|
|
buttonShow = new Button();
|
|
|
|
|
buttonSetExample = new Button();
|
|
|
|
|
labelExample = new Label();
|
|
|
|
|
textBoxExample = new TextBox();
|
2023-09-15 19:31:01 +04:00
|
|
|
|
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;
|
|
|
|
|
//
|
2023-09-15 21:10:27 +04:00
|
|
|
|
// emailTextBox
|
|
|
|
|
//
|
|
|
|
|
emailTextBox.Location = new Point(12, 132);
|
|
|
|
|
emailTextBox.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
emailTextBox.Name = "emailTextBox";
|
|
|
|
|
emailTextBox.Pattern = null;
|
|
|
|
|
emailTextBox.Size = new Size(179, 34);
|
|
|
|
|
emailTextBox.TabIndex = 5;
|
|
|
|
|
//
|
|
|
|
|
// labelShow
|
|
|
|
|
//
|
|
|
|
|
labelShow.AutoSize = true;
|
|
|
|
|
labelShow.Location = new Point(12, 170);
|
|
|
|
|
labelShow.Name = "labelShow";
|
|
|
|
|
labelShow.Size = new Size(76, 20);
|
|
|
|
|
labelShow.TabIndex = 10;
|
|
|
|
|
labelShow.Text = "проверка";
|
|
|
|
|
//
|
|
|
|
|
// buttonShow
|
|
|
|
|
//
|
|
|
|
|
buttonShow.Location = new Point(12, 196);
|
|
|
|
|
buttonShow.Name = "buttonShow";
|
|
|
|
|
buttonShow.Size = new Size(94, 29);
|
|
|
|
|
buttonShow.TabIndex = 9;
|
|
|
|
|
buttonShow.Text = "Проверка";
|
|
|
|
|
buttonShow.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonShow.Click += buttonShow_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonSetExample
|
|
|
|
|
//
|
|
|
|
|
buttonSetExample.Location = new Point(12, 328);
|
|
|
|
|
buttonSetExample.Name = "buttonSetExample";
|
|
|
|
|
buttonSetExample.Size = new Size(188, 29);
|
|
|
|
|
buttonSetExample.TabIndex = 8;
|
|
|
|
|
buttonSetExample.Text = "Поменять пример";
|
|
|
|
|
buttonSetExample.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSetExample.Click += buttonSetExample_Click;
|
|
|
|
|
//
|
|
|
|
|
// labelExample
|
|
|
|
|
//
|
|
|
|
|
labelExample.AutoSize = true;
|
|
|
|
|
labelExample.Location = new Point(12, 263);
|
|
|
|
|
labelExample.Name = "labelExample";
|
|
|
|
|
labelExample.Size = new Size(147, 20);
|
|
|
|
|
labelExample.TabIndex = 7;
|
|
|
|
|
labelExample.Text = "Для ввода примера";
|
|
|
|
|
//
|
|
|
|
|
// textBoxExample
|
|
|
|
|
//
|
|
|
|
|
textBoxExample.Location = new Point(12, 295);
|
|
|
|
|
textBoxExample.Name = "textBoxExample";
|
|
|
|
|
textBoxExample.Size = new Size(188, 27);
|
|
|
|
|
textBoxExample.TabIndex = 6;
|
|
|
|
|
//
|
2023-09-15 19:31:01 +04:00
|
|
|
|
// 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);
|
2023-09-15 21:10:27 +04:00
|
|
|
|
Controls.Add(emailTextBox);
|
|
|
|
|
Controls.Add(textBoxExample);
|
|
|
|
|
Controls.Add(labelExample);
|
|
|
|
|
Controls.Add(buttonSetExample);
|
|
|
|
|
Controls.Add(labelShow);
|
|
|
|
|
Controls.Add(buttonShow);
|
2023-09-15 19:31:01 +04:00
|
|
|
|
Name = "Form1";
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2023-09-13 18:53:06 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2023-09-15 19:31:01 +04:00
|
|
|
|
private VisualComponentsLib.MyDropDownList dropDownList;
|
|
|
|
|
private Button buttonAdd;
|
|
|
|
|
private Button buttonInfo;
|
|
|
|
|
private Label labelInfo;
|
|
|
|
|
private Button buttonClear;
|
2023-09-15 21:10:27 +04:00
|
|
|
|
private VisualComponentsLib.MyEmailTextBox emailTextBox;
|
|
|
|
|
private TextBox textBoxExample;
|
|
|
|
|
private Label labelExample;
|
|
|
|
|
private Button buttonSetExample;
|
|
|
|
|
private Label labelShow;
|
|
|
|
|
private Button buttonShow;
|
2023-09-13 18:53:06 +04:00
|
|
|
|
}
|
|
|
|
|
}
|