2023-05-13 14:30:05 +04:00
|
|
|
|
namespace BookShopView
|
|
|
|
|
{
|
2023-05-17 17:40:36 +04:00
|
|
|
|
partial class FormTests
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
2023-05-13 14:30:05 +04:00
|
|
|
|
|
2023-05-17 17:40:36 +04:00
|
|
|
|
/// <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);
|
|
|
|
|
}
|
2023-05-13 14:30:05 +04:00
|
|
|
|
|
2023-05-17 17:40:36 +04:00
|
|
|
|
#region Windows Form Designer generated code
|
2023-05-13 14:30:05 +04:00
|
|
|
|
|
2023-05-17 17:40:36 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
buttonInsertTest = new Button();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
textBoxInsertTime = new TextBox();
|
|
|
|
|
buttonReadTest = new Button();
|
|
|
|
|
textBoxReadTime = new TextBox();
|
|
|
|
|
label3 = new Label();
|
|
|
|
|
label4 = new Label();
|
|
|
|
|
numericUpDownInsert = new NumericUpDown();
|
|
|
|
|
numericUpDownRead = new NumericUpDown();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownInsert).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownRead).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// buttonInsertTest
|
|
|
|
|
//
|
|
|
|
|
buttonInsertTest.Location = new Point(6, 31);
|
|
|
|
|
buttonInsertTest.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonInsertTest.Name = "buttonInsertTest";
|
|
|
|
|
buttonInsertTest.Size = new Size(170, 45);
|
|
|
|
|
buttonInsertTest.TabIndex = 0;
|
|
|
|
|
buttonInsertTest.Text = "Вставка данных";
|
|
|
|
|
buttonInsertTest.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonInsertTest.Click += buttonInsertTest_Click;
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(190, 18);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(171, 20);
|
|
|
|
|
label1.TabIndex = 1;
|
|
|
|
|
label1.Text = "Количество элементов:";
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(190, 68);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(57, 20);
|
|
|
|
|
label2.TabIndex = 3;
|
|
|
|
|
label2.Text = "Время:";
|
|
|
|
|
//
|
|
|
|
|
// textBoxInsertTime
|
|
|
|
|
//
|
|
|
|
|
textBoxInsertTime.Location = new Point(427, 68);
|
|
|
|
|
textBoxInsertTime.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
textBoxInsertTime.Name = "textBoxInsertTime";
|
|
|
|
|
textBoxInsertTime.ReadOnly = true;
|
|
|
|
|
textBoxInsertTime.Size = new Size(114, 27);
|
|
|
|
|
textBoxInsertTime.TabIndex = 4;
|
|
|
|
|
//
|
|
|
|
|
// buttonReadTest
|
|
|
|
|
//
|
|
|
|
|
buttonReadTest.Location = new Point(6, 152);
|
|
|
|
|
buttonReadTest.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonReadTest.Name = "buttonReadTest";
|
|
|
|
|
buttonReadTest.Size = new Size(170, 49);
|
|
|
|
|
buttonReadTest.TabIndex = 5;
|
|
|
|
|
buttonReadTest.Text = "Чтение данных";
|
|
|
|
|
buttonReadTest.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonReadTest.Click += buttonReadTest_Click;
|
|
|
|
|
//
|
|
|
|
|
// textBoxReadTime
|
|
|
|
|
//
|
|
|
|
|
textBoxReadTime.Location = new Point(427, 189);
|
|
|
|
|
textBoxReadTime.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
textBoxReadTime.Name = "textBoxReadTime";
|
|
|
|
|
textBoxReadTime.ReadOnly = true;
|
|
|
|
|
textBoxReadTime.Size = new Size(114, 27);
|
|
|
|
|
textBoxReadTime.TabIndex = 9;
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
label3.AutoSize = true;
|
|
|
|
|
label3.Location = new Point(190, 192);
|
|
|
|
|
label3.Name = "label3";
|
|
|
|
|
label3.Size = new Size(57, 20);
|
|
|
|
|
label3.TabIndex = 8;
|
|
|
|
|
label3.Text = "Время:";
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
label4.AutoSize = true;
|
|
|
|
|
label4.Location = new Point(190, 136);
|
|
|
|
|
label4.Name = "label4";
|
|
|
|
|
label4.Size = new Size(171, 20);
|
|
|
|
|
label4.TabIndex = 6;
|
|
|
|
|
label4.Text = "Количество элементов:";
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownInsert
|
|
|
|
|
//
|
|
|
|
|
numericUpDownInsert.Location = new Point(427, 16);
|
|
|
|
|
numericUpDownInsert.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
numericUpDownInsert.Name = "numericUpDownInsert";
|
|
|
|
|
numericUpDownInsert.Size = new Size(114, 27);
|
|
|
|
|
numericUpDownInsert.TabIndex = 10;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownRead
|
|
|
|
|
//
|
|
|
|
|
numericUpDownRead.Location = new Point(427, 134);
|
|
|
|
|
numericUpDownRead.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
numericUpDownRead.Name = "numericUpDownRead";
|
|
|
|
|
numericUpDownRead.Size = new Size(114, 27);
|
|
|
|
|
numericUpDownRead.TabIndex = 11;
|
|
|
|
|
//
|
|
|
|
|
// FormTests
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(553, 246);
|
|
|
|
|
Controls.Add(numericUpDownRead);
|
|
|
|
|
Controls.Add(numericUpDownInsert);
|
|
|
|
|
Controls.Add(textBoxReadTime);
|
|
|
|
|
Controls.Add(label3);
|
|
|
|
|
Controls.Add(label4);
|
|
|
|
|
Controls.Add(buttonReadTest);
|
|
|
|
|
Controls.Add(textBoxInsertTime);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(buttonInsertTest);
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
Name = "FormTests";
|
|
|
|
|
Text = "Тесты запросов к бд";
|
|
|
|
|
Load += FormTests_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownInsert).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownRead).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
2023-05-13 14:30:05 +04:00
|
|
|
|
|
2023-05-17 17:40:36 +04:00
|
|
|
|
#endregion
|
2023-05-13 14:30:05 +04:00
|
|
|
|
|
2023-05-17 17:40:36 +04:00
|
|
|
|
private Button buttonInsertTest;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private TextBox textBoxInsertTime;
|
|
|
|
|
private Button buttonReadTest;
|
|
|
|
|
private TextBox textBoxReadTime;
|
|
|
|
|
private Label label3;
|
|
|
|
|
private Label label4;
|
|
|
|
|
private NumericUpDown numericUpDownInsert;
|
|
|
|
|
private NumericUpDown numericUpDownRead;
|
|
|
|
|
private Button buttonJoinQuery;
|
|
|
|
|
private NumericUpDown numericUpDownJoin;
|
|
|
|
|
private TextBox textBoxJoin;
|
|
|
|
|
private Label label5;
|
|
|
|
|
private Label label6;
|
|
|
|
|
}
|
2023-05-13 14:30:05 +04:00
|
|
|
|
}
|