2024-05-29 14:28:53 +04:00
|
|
|
|
namespace HotelView
|
|
|
|
|
{
|
|
|
|
|
partial class FormReservation
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
numericUpDownPrice = new NumericUpDown();
|
|
|
|
|
label5 = new Label();
|
|
|
|
|
labelAuth = new Label();
|
|
|
|
|
comboBoxGuest = new ComboBox();
|
|
|
|
|
button3 = new Button();
|
|
|
|
|
button2 = new Button();
|
|
|
|
|
button1 = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
comboBoxRoom = new ComboBox();
|
|
|
|
|
dateTimePickerDeparture = new DateTimePicker();
|
|
|
|
|
label3 = new Label();
|
|
|
|
|
dateTimePickerArrival = new DateTimePicker();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownPrice
|
|
|
|
|
//
|
|
|
|
|
numericUpDownPrice.Location = new Point(737, 332);
|
|
|
|
|
numericUpDownPrice.Name = "numericUpDownPrice";
|
|
|
|
|
numericUpDownPrice.Size = new Size(274, 27);
|
|
|
|
|
numericUpDownPrice.TabIndex = 56;
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
label5.AutoSize = true;
|
|
|
|
|
label5.Location = new Point(752, 309);
|
|
|
|
|
label5.Name = "label5";
|
|
|
|
|
label5.Size = new Size(45, 20);
|
|
|
|
|
label5.TabIndex = 55;
|
|
|
|
|
label5.Text = "Цена";
|
|
|
|
|
//
|
|
|
|
|
// labelAuth
|
|
|
|
|
//
|
|
|
|
|
labelAuth.AutoSize = true;
|
|
|
|
|
labelAuth.Location = new Point(752, 14);
|
|
|
|
|
labelAuth.Name = "labelAuth";
|
|
|
|
|
labelAuth.Size = new Size(46, 20);
|
|
|
|
|
labelAuth.TabIndex = 54;
|
|
|
|
|
labelAuth.Text = "Гость";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxGuest
|
|
|
|
|
//
|
|
|
|
|
comboBoxGuest.FormattingEnabled = true;
|
|
|
|
|
comboBoxGuest.Location = new Point(737, 39);
|
|
|
|
|
comboBoxGuest.Margin = new Padding(3, 5, 3, 5);
|
|
|
|
|
comboBoxGuest.Name = "comboBoxGuest";
|
|
|
|
|
comboBoxGuest.Size = new Size(274, 28);
|
|
|
|
|
comboBoxGuest.TabIndex = 53;
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
button3.Location = new Point(923, 408);
|
|
|
|
|
button3.Name = "button3";
|
|
|
|
|
button3.Size = new Size(94, 29);
|
|
|
|
|
button3.TabIndex = 52;
|
|
|
|
|
button3.Text = "Удалить";
|
|
|
|
|
button3.UseVisualStyleBackColor = true;
|
|
|
|
|
button3.Click += ButtonDelete_Click;
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
button2.Location = new Point(823, 408);
|
|
|
|
|
button2.Name = "button2";
|
|
|
|
|
button2.Size = new Size(94, 29);
|
|
|
|
|
button2.TabIndex = 51;
|
|
|
|
|
button2.Text = "Изменить";
|
|
|
|
|
button2.UseVisualStyleBackColor = true;
|
|
|
|
|
button2.Click += ButtonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
button1.Location = new Point(723, 408);
|
|
|
|
|
button1.Name = "button1";
|
|
|
|
|
button1.Size = new Size(94, 29);
|
|
|
|
|
button1.TabIndex = 50;
|
|
|
|
|
button1.Text = "Добавить";
|
|
|
|
|
button1.UseVisualStyleBackColor = true;
|
|
|
|
|
button1.Click += ButtonCreate_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(1, -1);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(696, 451);
|
|
|
|
|
dataGridView.TabIndex = 49;
|
2024-05-30 13:12:02 +04:00
|
|
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
2024-05-29 14:28:53 +04:00
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(752, 89);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(69, 20);
|
|
|
|
|
label1.TabIndex = 58;
|
|
|
|
|
label1.Text = "Комната";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxRoom
|
|
|
|
|
//
|
|
|
|
|
comboBoxRoom.FormattingEnabled = true;
|
|
|
|
|
comboBoxRoom.Location = new Point(737, 114);
|
|
|
|
|
comboBoxRoom.Margin = new Padding(3, 5, 3, 5);
|
|
|
|
|
comboBoxRoom.Name = "comboBoxRoom";
|
|
|
|
|
comboBoxRoom.Size = new Size(274, 28);
|
|
|
|
|
comboBoxRoom.TabIndex = 57;
|
|
|
|
|
//
|
|
|
|
|
// dateTimePickerDeparture
|
|
|
|
|
//
|
|
|
|
|
dateTimePickerDeparture.Location = new Point(737, 267);
|
|
|
|
|
dateTimePickerDeparture.Name = "dateTimePickerDeparture";
|
|
|
|
|
dateTimePickerDeparture.Size = new Size(280, 27);
|
|
|
|
|
dateTimePickerDeparture.TabIndex = 60;
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
label3.AutoSize = true;
|
|
|
|
|
label3.Location = new Point(752, 244);
|
|
|
|
|
label3.Name = "label3";
|
|
|
|
|
label3.Size = new Size(95, 20);
|
|
|
|
|
label3.TabIndex = 59;
|
|
|
|
|
label3.Text = "Дата выезда";
|
|
|
|
|
//
|
|
|
|
|
// dateTimePickerArrival
|
|
|
|
|
//
|
|
|
|
|
dateTimePickerArrival.Location = new Point(737, 188);
|
|
|
|
|
dateTimePickerArrival.Name = "dateTimePickerArrival";
|
|
|
|
|
dateTimePickerArrival.Size = new Size(274, 27);
|
|
|
|
|
dateTimePickerArrival.TabIndex = 62;
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(752, 165);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(91, 20);
|
|
|
|
|
label2.TabIndex = 61;
|
|
|
|
|
label2.Text = "Дата заезда";
|
|
|
|
|
//
|
|
|
|
|
// FormReservation
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1030, 450);
|
|
|
|
|
Controls.Add(dateTimePickerArrival);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(dateTimePickerDeparture);
|
|
|
|
|
Controls.Add(label3);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(comboBoxRoom);
|
|
|
|
|
Controls.Add(numericUpDownPrice);
|
|
|
|
|
Controls.Add(label5);
|
|
|
|
|
Controls.Add(labelAuth);
|
|
|
|
|
Controls.Add(comboBoxGuest);
|
|
|
|
|
Controls.Add(button3);
|
|
|
|
|
Controls.Add(button2);
|
|
|
|
|
Controls.Add(button1);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Name = "FormReservation";
|
|
|
|
|
Text = "FormReservation";
|
|
|
|
|
Load += FormReservation_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private NumericUpDown numericUpDownPrice;
|
|
|
|
|
private Label label5;
|
|
|
|
|
private Label labelAuth;
|
|
|
|
|
private ComboBox comboBoxGuest;
|
|
|
|
|
private Button button3;
|
|
|
|
|
private Button button2;
|
|
|
|
|
private Button button1;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private ComboBox comboBoxRoom;
|
|
|
|
|
private DateTimePicker dateTimePickerDeparture;
|
|
|
|
|
private Label label3;
|
|
|
|
|
private DateTimePicker dateTimePickerArrival;
|
|
|
|
|
private Label label2;
|
|
|
|
|
}
|
|
|
|
|
}
|