Сделали формучку

This commit is contained in:
Tonb73 2024-12-07 10:51:16 +03:00
parent 368960a0f4
commit 2e0ba1ba5e

View File

@ -34,62 +34,106 @@
buttonMakeReport = new Button();
comboBoxTour = new ComboBox();
textBoxFilePath = new TextBox();
labelFilePAth = new Label();
label1 = new Label();
label2 = new Label();
label3 = new Label();
SuspendLayout();
//
// dateTimePickerDateEnd
//
dateTimePickerDateEnd.Location = new Point(58, 155);
dateTimePickerDateEnd.Location = new Point(148, 221);
dateTimePickerDateEnd.Name = "dateTimePickerDateEnd";
dateTimePickerDateEnd.Size = new Size(201, 31);
dateTimePickerDateEnd.Size = new Size(280, 31);
dateTimePickerDateEnd.TabIndex = 0;
//
// dateTimePickerDateBegin
//
dateTimePickerDateBegin.Location = new Point(58, 105);
dateTimePickerDateBegin.Location = new Point(148, 164);
dateTimePickerDateBegin.Name = "dateTimePickerDateBegin";
dateTimePickerDateBegin.Size = new Size(201, 31);
dateTimePickerDateBegin.Size = new Size(280, 31);
dateTimePickerDateBegin.TabIndex = 1;
//
// buttonSelectFilePath
//
buttonSelectFilePath.Location = new Point(148, 47);
buttonSelectFilePath.Location = new Point(396, 59);
buttonSelectFilePath.Name = "buttonSelectFilePath";
buttonSelectFilePath.Size = new Size(112, 34);
buttonSelectFilePath.Size = new Size(32, 34);
buttonSelectFilePath.TabIndex = 2;
buttonSelectFilePath.Text = "button1";
buttonSelectFilePath.Text = "..";
buttonSelectFilePath.UseVisualStyleBackColor = true;
buttonSelectFilePath.Click += buttonSelectFilePath_Click;
//
// buttonMakeReport
//
buttonMakeReport.Location = new Point(144, 234);
buttonMakeReport.Location = new Point(148, 278);
buttonMakeReport.Name = "buttonMakeReport";
buttonMakeReport.Size = new Size(112, 34);
buttonMakeReport.Size = new Size(182, 34);
buttonMakeReport.TabIndex = 3;
buttonMakeReport.Text = "button2";
buttonMakeReport.Text = "Сформировать";
buttonMakeReport.UseVisualStyleBackColor = true;
buttonMakeReport.Click += buttonMakeReport_Click;
//
// comboBoxTour
//
comboBoxTour.FormattingEnabled = true;
comboBoxTour.Location = new Point(298, 157);
comboBoxTour.Location = new Point(148, 110);
comboBoxTour.Name = "comboBoxTour";
comboBoxTour.Size = new Size(182, 33);
comboBoxTour.TabIndex = 4;
//
// textBoxFilePath
//
textBoxFilePath.Location = new Point(279, 47);
textBoxFilePath.Location = new Point(148, 59);
textBoxFilePath.Name = "textBoxFilePath";
textBoxFilePath.Size = new Size(150, 31);
textBoxFilePath.Size = new Size(242, 31);
textBoxFilePath.TabIndex = 5;
//
// labelFilePAth
//
labelFilePAth.AutoSize = true;
labelFilePAth.Location = new Point(12, 47);
labelFilePAth.Name = "labelFilePAth";
labelFilePAth.Size = new Size(118, 25);
labelFilePAth.TabIndex = 6;
labelFilePAth.Text = "Путь к файлу";
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(12, 118);
label1.Name = "label1";
label1.Size = new Size(73, 25);
label1.TabIndex = 7;
label1.Text = "ID Тура";
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 169);
label2.Name = "label2";
label2.Size = new Size(110, 25);
label2.TabIndex = 8;
label2.Text = "Дата начала";
//
// label3
//
label3.AutoSize = true;
label3.Location = new Point(12, 221);
label3.Name = "label3";
label3.Size = new Size(105, 25);
label3.TabIndex = 9;
label3.Text = "Дата Конца";
//
// FormExcelReport
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
ClientSize = new Size(507, 342);
Controls.Add(label3);
Controls.Add(label2);
Controls.Add(label1);
Controls.Add(labelFilePAth);
Controls.Add(textBoxFilePath);
Controls.Add(comboBoxTour);
Controls.Add(buttonMakeReport);
@ -110,5 +154,9 @@
private Button buttonMakeReport;
private ComboBox comboBoxTour;
private TextBox textBoxFilePath;
private Label labelFilePAth;
private Label label1;
private Label label2;
private Label label3;
}
}