232 lines
8.6 KiB
C#
232 lines
8.6 KiB
C#
namespace BookingView
|
|
{
|
|
partial class FormBooking
|
|
{
|
|
/// <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()
|
|
{
|
|
buttonDelete = new Button();
|
|
buttonUpdate = new Button();
|
|
buttonCreate = new Button();
|
|
label1 = new Label();
|
|
dataGridView = new DataGridView();
|
|
label2 = new Label();
|
|
comboBoxClient = new ComboBox();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
comboBoxBook = new ComboBox();
|
|
textBoxStatus = new TextBox();
|
|
textBoxSum = new TextBox();
|
|
label6 = new Label();
|
|
dateTimePickerDate = new DateTimePicker();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// buttonDelete
|
|
//
|
|
buttonDelete.Location = new Point(847, 545);
|
|
buttonDelete.Margin = new Padding(3, 4, 3, 4);
|
|
buttonDelete.Name = "buttonDelete";
|
|
buttonDelete.Size = new Size(146, 40);
|
|
buttonDelete.TabIndex = 28;
|
|
buttonDelete.Text = "Удалить";
|
|
buttonDelete.UseVisualStyleBackColor = true;
|
|
buttonDelete.Click += ButtonDelete_Click;
|
|
//
|
|
// buttonUpdate
|
|
//
|
|
buttonUpdate.Location = new Point(847, 480);
|
|
buttonUpdate.Margin = new Padding(3, 4, 3, 4);
|
|
buttonUpdate.Name = "buttonUpdate";
|
|
buttonUpdate.Size = new Size(146, 40);
|
|
buttonUpdate.TabIndex = 27;
|
|
buttonUpdate.Text = "Изменить";
|
|
buttonUpdate.UseVisualStyleBackColor = true;
|
|
buttonUpdate.Click += ButtonUpdate_Click;
|
|
//
|
|
// buttonCreate
|
|
//
|
|
buttonCreate.Location = new Point(847, 415);
|
|
buttonCreate.Margin = new Padding(3, 4, 3, 4);
|
|
buttonCreate.Name = "buttonCreate";
|
|
buttonCreate.Size = new Size(146, 40);
|
|
buttonCreate.TabIndex = 26;
|
|
buttonCreate.Text = "Добавить";
|
|
buttonCreate.UseVisualStyleBackColor = true;
|
|
buttonCreate.Click += ButtonCreate_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(681, 21);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(97, 20);
|
|
label1.TabIndex = 16;
|
|
label1.Text = "Дата заказа: ";
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToAddRows = false;
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
dataGridView.BackgroundColor = SystemColors.Window;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Location = new Point(15, 19);
|
|
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.RowTemplate.Height = 25;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(649, 568);
|
|
dataGridView.TabIndex = 15;
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(681, 182);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(61, 20);
|
|
label2.TabIndex = 29;
|
|
label2.Text = "Клиент:";
|
|
//
|
|
// comboBoxClient
|
|
//
|
|
comboBoxClient.FormattingEnabled = true;
|
|
comboBoxClient.Location = new Point(853, 178);
|
|
comboBoxClient.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
comboBoxClient.Size = new Size(265, 28);
|
|
comboBoxClient.TabIndex = 30;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(681, 231);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(53, 20);
|
|
label3.TabIndex = 33;
|
|
label3.Text = "Книга:";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(681, 71);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(55, 20);
|
|
label4.TabIndex = 34;
|
|
label4.Text = "Статус:";
|
|
//
|
|
// comboBoxBook
|
|
//
|
|
comboBoxBook.FormattingEnabled = true;
|
|
comboBoxBook.Location = new Point(854, 228);
|
|
comboBoxBook.Margin = new Padding(3, 4, 3, 4);
|
|
comboBoxBook.Name = "comboBoxBook";
|
|
comboBoxBook.Size = new Size(265, 28);
|
|
comboBoxBook.TabIndex = 35;
|
|
//
|
|
// textBoxStatus
|
|
//
|
|
textBoxStatus.Location = new Point(854, 68);
|
|
textBoxStatus.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxStatus.Name = "textBoxStatus";
|
|
textBoxStatus.Size = new Size(265, 27);
|
|
textBoxStatus.TabIndex = 36;
|
|
//
|
|
// textBoxSum
|
|
//
|
|
textBoxSum.Location = new Point(854, 123);
|
|
textBoxSum.Margin = new Padding(3, 4, 3, 4);
|
|
textBoxSum.Name = "textBoxSum";
|
|
textBoxSum.Size = new Size(265, 27);
|
|
textBoxSum.TabIndex = 38;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(681, 126);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(58, 20);
|
|
label6.TabIndex = 37;
|
|
label6.Text = "Сумма:";
|
|
//
|
|
// dateTimePickerDate
|
|
//
|
|
dateTimePickerDate.Location = new Point(853, 16);
|
|
dateTimePickerDate.Margin = new Padding(3, 4, 3, 4);
|
|
dateTimePickerDate.Name = "dateTimePickerDate";
|
|
dateTimePickerDate.Size = new Size(265, 27);
|
|
dateTimePickerDate.TabIndex = 42;
|
|
//
|
|
// FormBooking
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1131, 600);
|
|
Controls.Add(dateTimePickerDate);
|
|
Controls.Add(textBoxSum);
|
|
Controls.Add(label6);
|
|
Controls.Add(textBoxStatus);
|
|
Controls.Add(comboBoxBook);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(comboBoxClient);
|
|
Controls.Add(label2);
|
|
Controls.Add(buttonDelete);
|
|
Controls.Add(buttonUpdate);
|
|
Controls.Add(buttonCreate);
|
|
Controls.Add(label1);
|
|
Controls.Add(dataGridView);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "FormBooking";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Заказы";
|
|
Load += FormBooking_Load;
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button buttonDelete;
|
|
private Button buttonUpdate;
|
|
private Button buttonCreate;
|
|
private Label label5;
|
|
private Label label1;
|
|
private DataGridView dataGridView;
|
|
private Label label2;
|
|
private ComboBox comboBoxClient;
|
|
private Label label3;
|
|
private Label label4;
|
|
private ComboBox comboBoxBook;
|
|
private TextBox textBoxStatus;
|
|
private TextBox textBoxSum;
|
|
private Label label6;
|
|
private DateTimePicker dateTimePickerDate;
|
|
}
|
|
} |