2024-05-29 14:28:53 +04:00
|
|
|
|
namespace HotelView
|
|
|
|
|
{
|
|
|
|
|
partial class FormRoom
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
numericUpFlor = new NumericUpDown();
|
|
|
|
|
numericUpDownCountPlace = new NumericUpDown();
|
|
|
|
|
label4 = new Label();
|
|
|
|
|
label3 = new Label();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
textBoxNumber = new TextBox();
|
|
|
|
|
textBoxCategory = new TextBox();
|
|
|
|
|
button3 = new Button();
|
|
|
|
|
button2 = new Button();
|
|
|
|
|
button1 = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
labelAuthor = new Label();
|
|
|
|
|
comboBoxHotel = new ComboBox();
|
|
|
|
|
numericUpDownPrice = new NumericUpDown();
|
|
|
|
|
label5 = new Label();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpFlor).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownCountPlace).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// numericUpFlor
|
|
|
|
|
//
|
|
|
|
|
numericUpFlor.Location = new Point(954, 229);
|
|
|
|
|
numericUpFlor.Minimum = new decimal(new int[] { 5, 0, 0, int.MinValue });
|
|
|
|
|
numericUpFlor.Name = "numericUpFlor";
|
|
|
|
|
numericUpFlor.Size = new Size(274, 27);
|
|
|
|
|
numericUpFlor.TabIndex = 25;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownCountPlace
|
|
|
|
|
//
|
|
|
|
|
numericUpDownCountPlace.Location = new Point(954, 160);
|
|
|
|
|
numericUpDownCountPlace.Name = "numericUpDownCountPlace";
|
|
|
|
|
numericUpDownCountPlace.Size = new Size(274, 27);
|
|
|
|
|
numericUpDownCountPlace.TabIndex = 24;
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
label4.AutoSize = true;
|
|
|
|
|
label4.Location = new Point(969, 206);
|
|
|
|
|
label4.Name = "label4";
|
|
|
|
|
label4.Size = new Size(43, 20);
|
|
|
|
|
label4.TabIndex = 23;
|
|
|
|
|
label4.Text = "Этаж";
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
label3.AutoSize = true;
|
|
|
|
|
label3.Location = new Point(967, 137);
|
|
|
|
|
label3.Name = "label3";
|
|
|
|
|
label3.Size = new Size(126, 20);
|
|
|
|
|
label3.TabIndex = 22;
|
|
|
|
|
label3.Text = "Количество мест";
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(967, 273);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(122, 20);
|
|
|
|
|
label2.TabIndex = 21;
|
|
|
|
|
label2.Text = "Номер комнаты";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(969, 72);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(81, 20);
|
|
|
|
|
label1.TabIndex = 20;
|
|
|
|
|
label1.Text = "Категория";
|
|
|
|
|
//
|
|
|
|
|
// textBoxNumber
|
|
|
|
|
//
|
|
|
|
|
textBoxNumber.Location = new Point(954, 296);
|
|
|
|
|
textBoxNumber.Name = "textBoxNumber";
|
|
|
|
|
textBoxNumber.Size = new Size(274, 27);
|
|
|
|
|
textBoxNumber.TabIndex = 19;
|
|
|
|
|
//
|
|
|
|
|
// textBoxCategory
|
|
|
|
|
//
|
|
|
|
|
textBoxCategory.Location = new Point(954, 95);
|
|
|
|
|
textBoxCategory.Name = "textBoxCategory";
|
|
|
|
|
textBoxCategory.Size = new Size(274, 27);
|
|
|
|
|
textBoxCategory.TabIndex = 18;
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
button3.Location = new Point(1140, 408);
|
|
|
|
|
button3.Name = "button3";
|
|
|
|
|
button3.Size = new Size(94, 29);
|
|
|
|
|
button3.TabIndex = 17;
|
|
|
|
|
button3.Text = "Удалить";
|
|
|
|
|
button3.UseVisualStyleBackColor = true;
|
|
|
|
|
button3.Click += ButtonDelete_Click;
|
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
|
|
|
|
button2.Location = new Point(1040, 408);
|
|
|
|
|
button2.Name = "button2";
|
|
|
|
|
button2.Size = new Size(94, 29);
|
|
|
|
|
button2.TabIndex = 16;
|
|
|
|
|
button2.Text = "Изменить";
|
|
|
|
|
button2.UseVisualStyleBackColor = true;
|
|
|
|
|
button2.Click += ButtonUpdate_Click;
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
//
|
|
|
|
|
button1.Location = new Point(940, 408);
|
|
|
|
|
button1.Name = "button1";
|
|
|
|
|
button1.Size = new Size(94, 29);
|
|
|
|
|
button1.TabIndex = 15;
|
|
|
|
|
button1.Text = "Добавить";
|
|
|
|
|
button1.UseVisualStyleBackColor = true;
|
|
|
|
|
button1.Click += ButtonCreate_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(1, 0);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(910, 451);
|
|
|
|
|
dataGridView.TabIndex = 14;
|
2024-05-30 13:12:02 +04:00
|
|
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
2024-05-29 14:28:53 +04:00
|
|
|
|
//
|
|
|
|
|
// labelAuthor
|
|
|
|
|
//
|
|
|
|
|
labelAuthor.AutoSize = true;
|
|
|
|
|
labelAuthor.Location = new Point(969, 14);
|
|
|
|
|
labelAuthor.Name = "labelAuthor";
|
|
|
|
|
labelAuthor.Size = new Size(82, 20);
|
|
|
|
|
labelAuthor.TabIndex = 46;
|
|
|
|
|
labelAuthor.Text = "Гостиница";
|
|
|
|
|
//
|
|
|
|
|
// comboBoxHotel
|
|
|
|
|
//
|
|
|
|
|
comboBoxHotel.FormattingEnabled = true;
|
|
|
|
|
comboBoxHotel.Location = new Point(954, 39);
|
|
|
|
|
comboBoxHotel.Margin = new Padding(3, 5, 3, 5);
|
|
|
|
|
comboBoxHotel.Name = "comboBoxHotel";
|
|
|
|
|
comboBoxHotel.Size = new Size(274, 28);
|
|
|
|
|
comboBoxHotel.TabIndex = 45;
|
|
|
|
|
//
|
|
|
|
|
// numericUpDownPrice
|
|
|
|
|
//
|
|
|
|
|
numericUpDownPrice.Location = new Point(954, 359);
|
|
|
|
|
numericUpDownPrice.Name = "numericUpDownPrice";
|
|
|
|
|
numericUpDownPrice.Size = new Size(274, 27);
|
|
|
|
|
numericUpDownPrice.TabIndex = 48;
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
label5.AutoSize = true;
|
|
|
|
|
label5.Location = new Point(969, 336);
|
|
|
|
|
label5.Name = "label5";
|
|
|
|
|
label5.Size = new Size(45, 20);
|
|
|
|
|
label5.TabIndex = 47;
|
|
|
|
|
label5.Text = "Цена";
|
|
|
|
|
//
|
|
|
|
|
// FormRoom
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1249, 450);
|
|
|
|
|
Controls.Add(numericUpDownPrice);
|
|
|
|
|
Controls.Add(label5);
|
|
|
|
|
Controls.Add(labelAuthor);
|
|
|
|
|
Controls.Add(comboBoxHotel);
|
|
|
|
|
Controls.Add(numericUpFlor);
|
|
|
|
|
Controls.Add(numericUpDownCountPlace);
|
|
|
|
|
Controls.Add(label4);
|
|
|
|
|
Controls.Add(label3);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(textBoxNumber);
|
|
|
|
|
Controls.Add(textBoxCategory);
|
|
|
|
|
Controls.Add(button3);
|
|
|
|
|
Controls.Add(button2);
|
|
|
|
|
Controls.Add(button1);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Name = "FormRoom";
|
|
|
|
|
Text = "FormRoom";
|
|
|
|
|
Load += FormRoom_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpFlor).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownCountPlace).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private NumericUpDown numericUpFlor;
|
|
|
|
|
private NumericUpDown numericUpDownCountPlace;
|
|
|
|
|
private Label label4;
|
|
|
|
|
private Label label3;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private TextBox textBoxNumber;
|
|
|
|
|
private TextBox textBoxCategory;
|
|
|
|
|
private Button button3;
|
|
|
|
|
private Button button2;
|
|
|
|
|
private Button button1;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Label labelAuthor;
|
|
|
|
|
private ComboBox comboBoxHotel;
|
|
|
|
|
private NumericUpDown numericUpDownPrice;
|
|
|
|
|
private Label label5;
|
|
|
|
|
}
|
|
|
|
|
}
|