224 lines
6.8 KiB
C#
224 lines
6.8 KiB
C#
|
namespace TestView
|
|||
|
{
|
|||
|
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()
|
|||
|
{
|
|||
|
buttonAdd = new Button();
|
|||
|
buttonClear = new Button();
|
|||
|
buttonSelect = new Button();
|
|||
|
list_with_choice = new ViewComponents.List_with_choice();
|
|||
|
input_text = new ViewComponents.Input_text();
|
|||
|
buttonDip = new Button();
|
|||
|
buttonVal = new Button();
|
|||
|
buttonCheck = new Button();
|
|||
|
buttonIerarhy = new Button();
|
|||
|
buttonAddBook = new Button();
|
|||
|
buttonGetValue = new Button();
|
|||
|
buttonGetIndex = new Button();
|
|||
|
buttonSetIndex = new Button();
|
|||
|
myTreeView = new ViewComponents.MyTreeView();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// buttonAdd
|
|||
|
//
|
|||
|
buttonAdd.Location = new Point(25, 137);
|
|||
|
buttonAdd.Name = "buttonAdd";
|
|||
|
buttonAdd.Size = new Size(94, 29);
|
|||
|
buttonAdd.TabIndex = 1;
|
|||
|
buttonAdd.Text = "Добавить";
|
|||
|
buttonAdd.UseVisualStyleBackColor = true;
|
|||
|
buttonAdd.Click += buttonAdd_Click;
|
|||
|
//
|
|||
|
// buttonClear
|
|||
|
//
|
|||
|
buttonClear.Location = new Point(163, 137);
|
|||
|
buttonClear.Name = "buttonClear";
|
|||
|
buttonClear.Size = new Size(94, 29);
|
|||
|
buttonClear.TabIndex = 2;
|
|||
|
buttonClear.Text = "Очистить";
|
|||
|
buttonClear.UseVisualStyleBackColor = true;
|
|||
|
buttonClear.Click += buttonClear_Click;
|
|||
|
//
|
|||
|
// buttonSelect
|
|||
|
//
|
|||
|
buttonSelect.Location = new Point(60, 172);
|
|||
|
buttonSelect.Name = "buttonSelect";
|
|||
|
buttonSelect.Size = new Size(163, 29);
|
|||
|
buttonSelect.TabIndex = 3;
|
|||
|
buttonSelect.Text = "Выбранный элемент";
|
|||
|
buttonSelect.UseVisualStyleBackColor = true;
|
|||
|
buttonSelect.Click += buttonSelect_Click;
|
|||
|
//
|
|||
|
// list_with_choice
|
|||
|
//
|
|||
|
list_with_choice.Element = "";
|
|||
|
list_with_choice.Location = new Point(25, 12);
|
|||
|
list_with_choice.Name = "list_with_choice";
|
|||
|
list_with_choice.Size = new Size(232, 119);
|
|||
|
list_with_choice.TabIndex = 4;
|
|||
|
list_with_choice.SelectedItemChange += list_with_choice_SelectedItemChange;
|
|||
|
//
|
|||
|
// input_text
|
|||
|
//
|
|||
|
input_text.Location = new Point(312, 12);
|
|||
|
input_text.Name = "input_text";
|
|||
|
input_text.Size = new Size(240, 119);
|
|||
|
input_text.TabIndex = 5;
|
|||
|
input_text.ItemChange += input_text_ItemChange;
|
|||
|
//
|
|||
|
// buttonDip
|
|||
|
//
|
|||
|
buttonDip.Location = new Point(312, 137);
|
|||
|
buttonDip.Name = "buttonDip";
|
|||
|
buttonDip.Size = new Size(94, 29);
|
|||
|
buttonDip.TabIndex = 6;
|
|||
|
buttonDip.Text = "Диапазон";
|
|||
|
buttonDip.UseVisualStyleBackColor = true;
|
|||
|
buttonDip.Click += buttonDip_Click;
|
|||
|
//
|
|||
|
// buttonVal
|
|||
|
//
|
|||
|
buttonVal.Location = new Point(458, 137);
|
|||
|
buttonVal.Name = "buttonVal";
|
|||
|
buttonVal.Size = new Size(94, 29);
|
|||
|
buttonVal.TabIndex = 7;
|
|||
|
buttonVal.Text = "Значение";
|
|||
|
buttonVal.UseVisualStyleBackColor = true;
|
|||
|
buttonVal.Click += buttonVal_Click;
|
|||
|
//
|
|||
|
// buttonCheck
|
|||
|
//
|
|||
|
buttonCheck.Location = new Point(360, 172);
|
|||
|
buttonCheck.Name = "buttonCheck";
|
|||
|
buttonCheck.Size = new Size(143, 29);
|
|||
|
buttonCheck.TabIndex = 8;
|
|||
|
buttonCheck.Text = " Проверка текста";
|
|||
|
buttonCheck.UseVisualStyleBackColor = true;
|
|||
|
buttonCheck.Click += buttonCheck_Click;
|
|||
|
//
|
|||
|
// buttonIerarhy
|
|||
|
//
|
|||
|
buttonIerarhy.Location = new Point(652, 32);
|
|||
|
buttonIerarhy.Name = "buttonIerarhy";
|
|||
|
buttonIerarhy.Size = new Size(168, 29);
|
|||
|
buttonIerarhy.TabIndex = 10;
|
|||
|
buttonIerarhy.Text = "Задать иерархию";
|
|||
|
buttonIerarhy.UseVisualStyleBackColor = true;
|
|||
|
buttonIerarhy.Click += buttonIerarhy_Click;
|
|||
|
//
|
|||
|
// buttonAddBook
|
|||
|
//
|
|||
|
buttonAddBook.Location = new Point(652, 67);
|
|||
|
buttonAddBook.Name = "buttonAddBook";
|
|||
|
buttonAddBook.Size = new Size(168, 29);
|
|||
|
buttonAddBook.TabIndex = 11;
|
|||
|
buttonAddBook.Text = "Добавить книги";
|
|||
|
buttonAddBook.UseVisualStyleBackColor = true;
|
|||
|
buttonAddBook.Click += buttonAddBook_Click;
|
|||
|
//
|
|||
|
// buttonGetValue
|
|||
|
//
|
|||
|
buttonGetValue.Location = new Point(652, 102);
|
|||
|
buttonGetValue.Name = "buttonGetValue";
|
|||
|
buttonGetValue.Size = new Size(168, 29);
|
|||
|
buttonGetValue.TabIndex = 12;
|
|||
|
buttonGetValue.Text = "Получить значение";
|
|||
|
buttonGetValue.UseVisualStyleBackColor = true;
|
|||
|
buttonGetValue.Click += buttonGetValue_Click;
|
|||
|
//
|
|||
|
// buttonGetIndex
|
|||
|
//
|
|||
|
buttonGetIndex.Location = new Point(652, 137);
|
|||
|
buttonGetIndex.Name = "buttonGetIndex";
|
|||
|
buttonGetIndex.Size = new Size(168, 29);
|
|||
|
buttonGetIndex.TabIndex = 13;
|
|||
|
buttonGetIndex.Text = "Получить индекс";
|
|||
|
buttonGetIndex.UseVisualStyleBackColor = true;
|
|||
|
buttonGetIndex.Click += buttonGetIndex_Click;
|
|||
|
//
|
|||
|
// buttonSetIndex
|
|||
|
//
|
|||
|
buttonSetIndex.Location = new Point(652, 172);
|
|||
|
buttonSetIndex.Name = "buttonSetIndex";
|
|||
|
buttonSetIndex.Size = new Size(168, 29);
|
|||
|
buttonSetIndex.TabIndex = 14;
|
|||
|
buttonSetIndex.Text = "Установить индекс";
|
|||
|
buttonSetIndex.UseVisualStyleBackColor = true;
|
|||
|
buttonSetIndex.Click += buttonSetIndex_Click;
|
|||
|
//
|
|||
|
// myTreeView
|
|||
|
//
|
|||
|
myTreeView.Location = new Point(629, 218);
|
|||
|
myTreeView.Name = "myTreeView";
|
|||
|
myTreeView.SelectedNodeIndex = -1;
|
|||
|
myTreeView.Size = new Size(226, 204);
|
|||
|
myTreeView.TabIndex = 8;
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(909, 450);
|
|||
|
Controls.Add(myTreeView);
|
|||
|
Controls.Add(buttonSetIndex);
|
|||
|
Controls.Add(buttonGetIndex);
|
|||
|
Controls.Add(buttonGetValue);
|
|||
|
Controls.Add(buttonAddBook);
|
|||
|
Controls.Add(buttonIerarhy);
|
|||
|
Controls.Add(buttonCheck);
|
|||
|
Controls.Add(buttonVal);
|
|||
|
Controls.Add(buttonDip);
|
|||
|
Controls.Add(input_text);
|
|||
|
Controls.Add(list_with_choice);
|
|||
|
Controls.Add(buttonSelect);
|
|||
|
Controls.Add(buttonClear);
|
|||
|
Controls.Add(buttonAdd);
|
|||
|
Name = "Form1";
|
|||
|
Text = "Form1";
|
|||
|
Load += Form1_Load;
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private Button buttonAdd;
|
|||
|
private Button buttonClear;
|
|||
|
private Button buttonSelect;
|
|||
|
private ViewComponents.List_with_choice list_with_choice;
|
|||
|
private ViewComponents.Input_text input_text;
|
|||
|
private Button buttonDip;
|
|||
|
private Button buttonVal;
|
|||
|
private Button buttonCheck;
|
|||
|
private Button buttonIerarhy;
|
|||
|
private Button buttonAddBook;
|
|||
|
private Button buttonGetValue;
|
|||
|
private Button buttonGetIndex;
|
|||
|
private Button buttonSetIndex;
|
|||
|
private ViewComponents.MyTreeView myTreeView;
|
|||
|
}
|
|||
|
}
|