272 lines
11 KiB
C#
272 lines
11 KiB
C#
using static System.Net.Mime.MediaTypeNames;
|
|
using System.Windows.Forms;
|
|
using System.Xml.Linq;
|
|
using Library36;
|
|
|
|
namespace Test
|
|
{
|
|
partial class FormTest
|
|
{
|
|
/// <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()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
customDataGridView1 = new CustomDataGridView();
|
|
customListBox1 = new CustomListBox();
|
|
dateBoxWithNull1 = new DateBoxWithNull();
|
|
buttonClear = new Button();
|
|
buttonLoad = new Button();
|
|
buttonClearTable = new Button();
|
|
buttonTableAdd = new Button();
|
|
buttonGetValue = new Button();
|
|
buttonGetValueCheckBox = new Button();
|
|
buttonSetValueCheckBox = new Button();
|
|
buttonGetList = new Button();
|
|
buttonAddOneRow = new Button();
|
|
textBoxDate = new TextBox();
|
|
buttonExcelTable = new Button();
|
|
buttonExcelCustomTable = new Button();
|
|
buttonExcelGistogram = new Button();
|
|
excelCustomTable1 = new ExcelCustomTable(components);
|
|
excelGistogram1 = new ExcelGistogram(components);
|
|
excelTable1 = new ExcelTable(components);
|
|
SuspendLayout();
|
|
//
|
|
// customDataGridView1
|
|
//
|
|
customDataGridView1.Location = new Point(329, 16);
|
|
customDataGridView1.Margin = new Padding(4, 5, 4, 5);
|
|
customDataGridView1.Name = "customDataGridView1";
|
|
customDataGridView1.Size = new Size(419, 289);
|
|
customDataGridView1.TabIndex = 0;
|
|
//
|
|
// customListBox1
|
|
//
|
|
customListBox1.Location = new Point(15, 16);
|
|
customListBox1.Margin = new Padding(4, 5, 4, 5);
|
|
customListBox1.Name = "customListBox1";
|
|
customListBox1.SelectedValue = "";
|
|
customListBox1.Size = new Size(306, 232);
|
|
customListBox1.TabIndex = 1;
|
|
customListBox1.ValueChanged += CustomListBox1_ValueChanged;
|
|
//
|
|
// dateBoxWithNull1
|
|
//
|
|
dateBoxWithNull1.Location = new Point(15, 314);
|
|
dateBoxWithNull1.Margin = new Padding(5);
|
|
dateBoxWithNull1.Name = "dateBoxWithNull1";
|
|
dateBoxWithNull1.Size = new Size(306, 42);
|
|
dateBoxWithNull1.TabIndex = 2;
|
|
//
|
|
// buttonClear
|
|
//
|
|
buttonClear.Location = new Point(203, 257);
|
|
buttonClear.Margin = new Padding(4);
|
|
buttonClear.Name = "buttonClear";
|
|
buttonClear.Size = new Size(118, 36);
|
|
buttonClear.TabIndex = 3;
|
|
buttonClear.Text = "Clear List";
|
|
buttonClear.UseVisualStyleBackColor = true;
|
|
buttonClear.Click += buttonClear_Click;
|
|
//
|
|
// buttonLoad
|
|
//
|
|
buttonLoad.Location = new Point(15, 258);
|
|
buttonLoad.Margin = new Padding(4);
|
|
buttonLoad.Name = "buttonLoad";
|
|
buttonLoad.Size = new Size(100, 36);
|
|
buttonLoad.TabIndex = 4;
|
|
buttonLoad.Text = "Load List";
|
|
buttonLoad.UseVisualStyleBackColor = true;
|
|
buttonLoad.Click += buttonLoad_Click;
|
|
//
|
|
// buttonClearTable
|
|
//
|
|
buttonClearTable.Location = new Point(329, 314);
|
|
buttonClearTable.Margin = new Padding(4);
|
|
buttonClearTable.Name = "buttonClearTable";
|
|
buttonClearTable.Size = new Size(103, 36);
|
|
buttonClearTable.TabIndex = 5;
|
|
buttonClearTable.Text = "Table clear";
|
|
buttonClearTable.UseVisualStyleBackColor = true;
|
|
buttonClearTable.Click += buttonClearTable_Click;
|
|
//
|
|
// buttonTableAdd
|
|
//
|
|
buttonTableAdd.Location = new Point(440, 314);
|
|
buttonTableAdd.Margin = new Padding(4);
|
|
buttonTableAdd.Name = "buttonTableAdd";
|
|
buttonTableAdd.Size = new Size(105, 36);
|
|
buttonTableAdd.TabIndex = 6;
|
|
buttonTableAdd.Text = "Add Table";
|
|
buttonTableAdd.UseVisualStyleBackColor = true;
|
|
buttonTableAdd.Click += buttonTableAdd_Click;
|
|
//
|
|
// buttonGetValue
|
|
//
|
|
buttonGetValue.Location = new Point(553, 315);
|
|
buttonGetValue.Margin = new Padding(4);
|
|
buttonGetValue.Name = "buttonGetValue";
|
|
buttonGetValue.Size = new Size(94, 36);
|
|
buttonGetValue.TabIndex = 7;
|
|
buttonGetValue.Text = "Get Value";
|
|
buttonGetValue.UseVisualStyleBackColor = true;
|
|
buttonGetValue.Click += buttonGetValue_Click;
|
|
//
|
|
// buttonGetValueCheckBox
|
|
//
|
|
buttonGetValueCheckBox.Location = new Point(12, 358);
|
|
buttonGetValueCheckBox.Margin = new Padding(4);
|
|
buttonGetValueCheckBox.Name = "buttonGetValueCheckBox";
|
|
buttonGetValueCheckBox.Size = new Size(103, 31);
|
|
buttonGetValueCheckBox.TabIndex = 8;
|
|
buttonGetValueCheckBox.Text = "Get value";
|
|
buttonGetValueCheckBox.UseVisualStyleBackColor = true;
|
|
buttonGetValueCheckBox.Click += buttonGetValueCheckBox_Click;
|
|
//
|
|
// buttonSetValueCheckBox
|
|
//
|
|
buttonSetValueCheckBox.Location = new Point(271, 358);
|
|
buttonSetValueCheckBox.Margin = new Padding(4);
|
|
buttonSetValueCheckBox.Name = "buttonSetValueCheckBox";
|
|
buttonSetValueCheckBox.Size = new Size(50, 31);
|
|
buttonSetValueCheckBox.TabIndex = 9;
|
|
buttonSetValueCheckBox.Text = "Set";
|
|
buttonSetValueCheckBox.UseVisualStyleBackColor = true;
|
|
buttonSetValueCheckBox.Click += buttonSetDate_Click;
|
|
//
|
|
// buttonGetList
|
|
//
|
|
buttonGetList.Location = new Point(122, 257);
|
|
buttonGetList.Name = "buttonGetList";
|
|
buttonGetList.Size = new Size(74, 36);
|
|
buttonGetList.TabIndex = 11;
|
|
buttonGetList.Text = "Get";
|
|
buttonGetList.UseVisualStyleBackColor = true;
|
|
buttonGetList.Click += buttonGetList_Click;
|
|
//
|
|
// buttonAddOneRow
|
|
//
|
|
buttonAddOneRow.Location = new Point(654, 316);
|
|
buttonAddOneRow.Name = "buttonAddOneRow";
|
|
buttonAddOneRow.Size = new Size(94, 34);
|
|
buttonAddOneRow.TabIndex = 12;
|
|
buttonAddOneRow.Text = "Add Row";
|
|
buttonAddOneRow.UseVisualStyleBackColor = true;
|
|
buttonAddOneRow.Click += buttonAddOneRow_Click;
|
|
//
|
|
// textBoxDate
|
|
//
|
|
textBoxDate.Location = new Point(122, 358);
|
|
textBoxDate.Name = "textBoxDate";
|
|
textBoxDate.Size = new Size(142, 31);
|
|
textBoxDate.TabIndex = 13;
|
|
//
|
|
// buttonExcelTable
|
|
//
|
|
buttonExcelTable.Location = new Point(440, 358);
|
|
buttonExcelTable.Margin = new Padding(3, 4, 3, 4);
|
|
buttonExcelTable.Name = "buttonExcelTable";
|
|
buttonExcelTable.Size = new Size(105, 31);
|
|
buttonExcelTable.TabIndex = 12;
|
|
buttonExcelTable.Text = "Table";
|
|
buttonExcelTable.UseVisualStyleBackColor = true;
|
|
buttonExcelTable.Click += ButtonExcelTable_Click;
|
|
//
|
|
// buttonExcelCustomTable
|
|
//
|
|
buttonExcelCustomTable.Location = new Point(553, 358);
|
|
buttonExcelCustomTable.Margin = new Padding(3, 4, 3, 4);
|
|
buttonExcelCustomTable.Name = "buttonExcelCustomTable";
|
|
buttonExcelCustomTable.Size = new Size(94, 31);
|
|
buttonExcelCustomTable.TabIndex = 13;
|
|
buttonExcelCustomTable.Text = "Custom ";
|
|
buttonExcelCustomTable.UseVisualStyleBackColor = true;
|
|
buttonExcelCustomTable.Click += ButtonExcelCustomTable_Click;
|
|
//
|
|
// buttonExcelGistogram
|
|
//
|
|
buttonExcelGistogram.Location = new Point(654, 358);
|
|
buttonExcelGistogram.Margin = new Padding(3, 4, 3, 4);
|
|
buttonExcelGistogram.Name = "buttonExcelGistogram";
|
|
buttonExcelGistogram.Size = new Size(94, 31);
|
|
buttonExcelGistogram.TabIndex = 14;
|
|
buttonExcelGistogram.Text = "Gist";
|
|
buttonExcelGistogram.UseVisualStyleBackColor = true;
|
|
buttonExcelGistogram.Click += ButtonExcelGistogram_Click;
|
|
//
|
|
// FormTest
|
|
//
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(763, 404);
|
|
Controls.Add(buttonExcelGistogram);
|
|
Controls.Add(buttonExcelCustomTable);
|
|
Controls.Add(buttonExcelTable);
|
|
Controls.Add(textBoxDate);
|
|
Controls.Add(buttonAddOneRow);
|
|
Controls.Add(buttonGetList);
|
|
Controls.Add(buttonSetValueCheckBox);
|
|
Controls.Add(buttonGetValueCheckBox);
|
|
Controls.Add(buttonGetValue);
|
|
Controls.Add(buttonTableAdd);
|
|
Controls.Add(buttonClearTable);
|
|
Controls.Add(buttonLoad);
|
|
Controls.Add(buttonClear);
|
|
Controls.Add(dateBoxWithNull1);
|
|
Controls.Add(customListBox1);
|
|
Controls.Add(customDataGridView1);
|
|
Margin = new Padding(4);
|
|
Name = "FormTest";
|
|
Text = "FormTest";
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Library36.CustomDataGridView customDataGridView1;
|
|
private Library36.CustomListBox customListBox1;
|
|
private Library36.DateBoxWithNull dateBoxWithNull1;
|
|
private Button buttonClear;
|
|
private Button buttonLoad;
|
|
private Button buttonClearTable;
|
|
private Button buttonTableAdd;
|
|
private Button buttonGetValue;
|
|
private Button buttonGetValueCheckBox;
|
|
private Button buttonSetValueCheckBox;
|
|
private Button buttonGetList;
|
|
private Button buttonAddOneRow;
|
|
private TextBox textBoxDate;
|
|
private Button buttonExcelTable;
|
|
private Button buttonExcelCustomTable;
|
|
private Button buttonExcelGistogram;
|
|
private Library36.ExcelTable excelTable1;
|
|
private Library36.ExcelGistogram excelGistogram1;
|
|
private Library36.ExcelCustomTable excelCustomTable1;
|
|
}
|
|
}
|