2024-09-09 22:02:46 +04:00
|
|
|
|
namespace WinFormsTest
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
2024-09-19 19:34:15 +04:00
|
|
|
|
components = new System.ComponentModel.Container();
|
2024-09-09 22:02:46 +04:00
|
|
|
|
SelectionComponent = new CreateVisualComponent.SelectionComponent();
|
|
|
|
|
buttonLoad = new Button();
|
|
|
|
|
buttonClear = new Button();
|
|
|
|
|
InputComponent = new CreateVisualComponent.InputComponent();
|
|
|
|
|
buttonSetDate = new Button();
|
|
|
|
|
buttonGetDate = new Button();
|
|
|
|
|
textBoxEvent = new TextBox();
|
|
|
|
|
ListOutputComponent = new CreateVisualComponent.ListOutputComponent();
|
|
|
|
|
buttonClearTable = new Button();
|
|
|
|
|
buttonShowTable = new Button();
|
|
|
|
|
buttonGet = new Button();
|
2024-09-19 19:34:15 +04:00
|
|
|
|
buttonExcelTableSave = new Button();
|
|
|
|
|
excelTable = new NotVisualComponent.ExcelTable(components);
|
|
|
|
|
buttonHardExcelSave = new Button();
|
|
|
|
|
buttonDiagramSave = new Button();
|
|
|
|
|
excelHardTable = new NotVisualComponent.ExcelHardTable(components);
|
|
|
|
|
excelDiagram = new NotVisualComponent.ExcelDiagram(components);
|
2024-09-09 22:02:46 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// SelectionComponent
|
|
|
|
|
//
|
|
|
|
|
SelectionComponent.Location = new Point(12, 12);
|
|
|
|
|
SelectionComponent.Name = "SelectionComponent";
|
|
|
|
|
SelectionComponent.SelectedElement = "";
|
|
|
|
|
SelectionComponent.Size = new Size(205, 195);
|
|
|
|
|
SelectionComponent.TabIndex = 0;
|
|
|
|
|
SelectionComponent.ChangeEvent += SelectionComponent_ChangeEvent;
|
|
|
|
|
//
|
|
|
|
|
// buttonLoad
|
|
|
|
|
//
|
|
|
|
|
buttonLoad.Location = new Point(12, 213);
|
|
|
|
|
buttonLoad.Name = "buttonLoad";
|
|
|
|
|
buttonLoad.Size = new Size(94, 29);
|
|
|
|
|
buttonLoad.TabIndex = 1;
|
|
|
|
|
buttonLoad.Text = "Load";
|
|
|
|
|
buttonLoad.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonLoad.Click += ButtonListLoad_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonClear
|
|
|
|
|
//
|
|
|
|
|
buttonClear.Location = new Point(123, 213);
|
|
|
|
|
buttonClear.Name = "buttonClear";
|
|
|
|
|
buttonClear.Size = new Size(94, 29);
|
|
|
|
|
buttonClear.TabIndex = 2;
|
|
|
|
|
buttonClear.Text = "Clear";
|
|
|
|
|
buttonClear.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonClear.Click += ButtonListClear_Click;
|
|
|
|
|
//
|
|
|
|
|
// InputComponent
|
|
|
|
|
//
|
|
|
|
|
InputComponent.Location = new Point(0, 268);
|
|
|
|
|
InputComponent.Name = "InputComponent";
|
|
|
|
|
InputComponent.Size = new Size(217, 67);
|
|
|
|
|
InputComponent.TabIndex = 3;
|
|
|
|
|
InputComponent.CheckBoxEvent += InputComponent_CheckBoxEvent;
|
|
|
|
|
//
|
|
|
|
|
// buttonSetDate
|
|
|
|
|
//
|
|
|
|
|
buttonSetDate.Location = new Point(12, 332);
|
|
|
|
|
buttonSetDate.Name = "buttonSetDate";
|
|
|
|
|
buttonSetDate.Size = new Size(94, 29);
|
|
|
|
|
buttonSetDate.TabIndex = 4;
|
|
|
|
|
buttonSetDate.Text = "Set";
|
|
|
|
|
buttonSetDate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSetDate.Click += ButtonSet_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonGetDate
|
|
|
|
|
//
|
|
|
|
|
buttonGetDate.Location = new Point(123, 332);
|
|
|
|
|
buttonGetDate.Name = "buttonGetDate";
|
|
|
|
|
buttonGetDate.Size = new Size(94, 29);
|
|
|
|
|
buttonGetDate.TabIndex = 5;
|
|
|
|
|
buttonGetDate.Text = "Get";
|
|
|
|
|
buttonGetDate.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGetDate.Click += ButtonGet_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxEvent
|
|
|
|
|
//
|
|
|
|
|
textBoxEvent.Location = new Point(52, 378);
|
|
|
|
|
textBoxEvent.Name = "textBoxEvent";
|
|
|
|
|
textBoxEvent.Size = new Size(125, 27);
|
|
|
|
|
textBoxEvent.TabIndex = 6;
|
|
|
|
|
//
|
|
|
|
|
// ListOutputComponent
|
|
|
|
|
//
|
|
|
|
|
ListOutputComponent.Location = new Point(268, 12);
|
|
|
|
|
ListOutputComponent.Name = "ListOutputComponent";
|
|
|
|
|
ListOutputComponent.Size = new Size(520, 230);
|
|
|
|
|
ListOutputComponent.TabIndex = 7;
|
|
|
|
|
//
|
|
|
|
|
// buttonClearTable
|
|
|
|
|
//
|
|
|
|
|
buttonClearTable.Location = new Point(480, 259);
|
|
|
|
|
buttonClearTable.Name = "buttonClearTable";
|
|
|
|
|
buttonClearTable.Size = new Size(94, 50);
|
|
|
|
|
buttonClearTable.TabIndex = 9;
|
|
|
|
|
buttonClearTable.Text = "Crear";
|
|
|
|
|
buttonClearTable.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonClearTable.Click += ButtonClearTable_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonShowTable
|
|
|
|
|
//
|
|
|
|
|
buttonShowTable.Location = new Point(329, 259);
|
|
|
|
|
buttonShowTable.Name = "buttonShowTable";
|
|
|
|
|
buttonShowTable.Size = new Size(94, 50);
|
|
|
|
|
buttonShowTable.TabIndex = 10;
|
|
|
|
|
buttonShowTable.Text = "Show";
|
|
|
|
|
buttonShowTable.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonShowTable.Click += ButtonShowTable_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonGet
|
|
|
|
|
//
|
|
|
|
|
buttonGet.Location = new Point(627, 259);
|
|
|
|
|
buttonGet.Name = "buttonGet";
|
|
|
|
|
buttonGet.Size = new Size(94, 50);
|
|
|
|
|
buttonGet.TabIndex = 11;
|
|
|
|
|
buttonGet.Text = "Получить строку";
|
|
|
|
|
buttonGet.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonGet.Click += ButtonGetString_Click;
|
|
|
|
|
//
|
2024-09-19 19:34:15 +04:00
|
|
|
|
// buttonExcelTableSave
|
|
|
|
|
//
|
|
|
|
|
buttonExcelTableSave.Location = new Point(329, 355);
|
|
|
|
|
buttonExcelTableSave.Name = "buttonExcelTableSave";
|
|
|
|
|
buttonExcelTableSave.Size = new Size(94, 50);
|
|
|
|
|
buttonExcelTableSave.TabIndex = 12;
|
|
|
|
|
buttonExcelTableSave.Text = "Save Excel";
|
|
|
|
|
buttonExcelTableSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonExcelTableSave.Click += buttonExcel_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonHardExcelSave
|
|
|
|
|
//
|
|
|
|
|
buttonHardExcelSave.Location = new Point(480, 355);
|
|
|
|
|
buttonHardExcelSave.Name = "buttonHardExcelSave";
|
|
|
|
|
buttonHardExcelSave.Size = new Size(94, 50);
|
|
|
|
|
buttonHardExcelSave.TabIndex = 13;
|
|
|
|
|
buttonHardExcelSave.Text = "Save Hard Excel";
|
|
|
|
|
buttonHardExcelSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonHardExcelSave.Click += buttonHardExcelSave_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonDiagramSave
|
|
|
|
|
//
|
|
|
|
|
buttonDiagramSave.Location = new Point(627, 355);
|
|
|
|
|
buttonDiagramSave.Name = "buttonDiagramSave";
|
|
|
|
|
buttonDiagramSave.Size = new Size(94, 50);
|
|
|
|
|
buttonDiagramSave.TabIndex = 14;
|
|
|
|
|
buttonDiagramSave.Text = "Save Diagram";
|
|
|
|
|
buttonDiagramSave.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonDiagramSave.Click += buttonDiagramSave_Click;
|
|
|
|
|
//
|
2024-09-09 22:02:46 +04:00
|
|
|
|
// Form1
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
2024-09-19 19:34:15 +04:00
|
|
|
|
Controls.Add(buttonDiagramSave);
|
|
|
|
|
Controls.Add(buttonHardExcelSave);
|
|
|
|
|
Controls.Add(buttonExcelTableSave);
|
2024-09-09 22:02:46 +04:00
|
|
|
|
Controls.Add(buttonGet);
|
|
|
|
|
Controls.Add(buttonShowTable);
|
|
|
|
|
Controls.Add(buttonClearTable);
|
|
|
|
|
Controls.Add(ListOutputComponent);
|
|
|
|
|
Controls.Add(textBoxEvent);
|
|
|
|
|
Controls.Add(buttonGetDate);
|
|
|
|
|
Controls.Add(buttonSetDate);
|
|
|
|
|
Controls.Add(InputComponent);
|
|
|
|
|
Controls.Add(buttonClear);
|
|
|
|
|
Controls.Add(buttonLoad);
|
|
|
|
|
Controls.Add(SelectionComponent);
|
|
|
|
|
Name = "Form1";
|
|
|
|
|
Text = "Form1";
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private CreateVisualComponent.SelectionComponent SelectionComponent;
|
|
|
|
|
private Button buttonLoad;
|
|
|
|
|
private Button buttonClear;
|
|
|
|
|
private CreateVisualComponent.InputComponent InputComponent;
|
|
|
|
|
private Button buttonSetDate;
|
|
|
|
|
private Button buttonGetDate;
|
|
|
|
|
private TextBox textBoxEvent;
|
|
|
|
|
private CreateVisualComponent.ListOutputComponent ListOutputComponent;
|
|
|
|
|
private Button buttonClearTable;
|
|
|
|
|
private Button buttonShowTable;
|
|
|
|
|
private Button buttonGet;
|
2024-09-19 19:34:15 +04:00
|
|
|
|
private Button buttonExcelTableSave;
|
|
|
|
|
private NotVisualComponent.ExcelTable excelTable;
|
|
|
|
|
private Button buttonHardExcelSave;
|
|
|
|
|
private Button buttonDiagramSave;
|
|
|
|
|
private NotVisualComponent.ExcelHardTable excelHardTable;
|
|
|
|
|
private NotVisualComponent.ExcelDiagram excelDiagram;
|
2024-09-09 22:02:46 +04:00
|
|
|
|
}
|
|
|
|
|
}
|