194 lines
7.1 KiB
C#
194 lines
7.1 KiB
C#
|
namespace HotelView
|
|||
|
{
|
|||
|
partial class FormHotel
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
dataGridView = new DataGridView();
|
|||
|
button1 = new Button();
|
|||
|
button2 = new Button();
|
|||
|
button3 = new Button();
|
|||
|
textBoxName = new TextBox();
|
|||
|
textBoxAddress = new TextBox();
|
|||
|
label1 = new Label();
|
|||
|
label2 = new Label();
|
|||
|
label3 = new Label();
|
|||
|
label4 = new Label();
|
|||
|
numericUpDownCountStar = new NumericUpDown();
|
|||
|
numericUpDownCountRoom = new NumericUpDown();
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownCountStar).BeginInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownCountRoom).BeginInit();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// dataGridView
|
|||
|
//
|
|||
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|||
|
dataGridView.Location = new Point(0, 0);
|
|||
|
dataGridView.Name = "dataGridView";
|
|||
|
dataGridView.RowHeadersWidth = 51;
|
|||
|
dataGridView.RowTemplate.Height = 29;
|
|||
|
dataGridView.Size = new Size(478, 448);
|
|||
|
dataGridView.TabIndex = 0;
|
|||
|
//
|
|||
|
// button1
|
|||
|
//
|
|||
|
button1.Location = new Point(494, 409);
|
|||
|
button1.Name = "button1";
|
|||
|
button1.Size = new Size(94, 29);
|
|||
|
button1.TabIndex = 1;
|
|||
|
button1.Text = "Добавить";
|
|||
|
button1.UseVisualStyleBackColor = true;
|
|||
|
button1.Click += ButtonCreate_Click;
|
|||
|
//
|
|||
|
// button2
|
|||
|
//
|
|||
|
button2.Location = new Point(594, 409);
|
|||
|
button2.Name = "button2";
|
|||
|
button2.Size = new Size(94, 29);
|
|||
|
button2.TabIndex = 2;
|
|||
|
button2.Text = "Изменить";
|
|||
|
button2.UseVisualStyleBackColor = true;
|
|||
|
button2.Click += ButtonUpdate_Click;
|
|||
|
//
|
|||
|
// button3
|
|||
|
//
|
|||
|
button3.Location = new Point(694, 409);
|
|||
|
button3.Name = "button3";
|
|||
|
button3.Size = new Size(94, 29);
|
|||
|
button3.TabIndex = 3;
|
|||
|
button3.Text = "Удалить";
|
|||
|
button3.UseVisualStyleBackColor = true;
|
|||
|
button3.Click += ButtonDelete_Click;
|
|||
|
//
|
|||
|
// textBoxName
|
|||
|
//
|
|||
|
textBoxName.Location = new Point(508, 71);
|
|||
|
textBoxName.Name = "textBoxName";
|
|||
|
textBoxName.Size = new Size(280, 27);
|
|||
|
textBoxName.TabIndex = 4;
|
|||
|
//
|
|||
|
// textBoxAddress
|
|||
|
//
|
|||
|
textBoxAddress.Location = new Point(508, 158);
|
|||
|
textBoxAddress.Name = "textBoxAddress";
|
|||
|
textBoxAddress.Size = new Size(280, 27);
|
|||
|
textBoxAddress.TabIndex = 5;
|
|||
|
//
|
|||
|
// label1
|
|||
|
//
|
|||
|
label1.AutoSize = true;
|
|||
|
label1.Location = new Point(523, 48);
|
|||
|
label1.Name = "label1";
|
|||
|
label1.Size = new Size(156, 20);
|
|||
|
label1.TabIndex = 8;
|
|||
|
label1.Text = "Название гостиницы";
|
|||
|
//
|
|||
|
// label2
|
|||
|
//
|
|||
|
label2.AutoSize = true;
|
|||
|
label2.Location = new Point(523, 135);
|
|||
|
label2.Name = "label2";
|
|||
|
label2.Size = new Size(130, 20);
|
|||
|
label2.TabIndex = 9;
|
|||
|
label2.Text = "Адрес гостиницы";
|
|||
|
//
|
|||
|
// label3
|
|||
|
//
|
|||
|
label3.AutoSize = true;
|
|||
|
label3.Location = new Point(523, 226);
|
|||
|
label3.Name = "label3";
|
|||
|
label3.Size = new Size(132, 20);
|
|||
|
label3.TabIndex = 10;
|
|||
|
label3.Text = "Количество звезд";
|
|||
|
//
|
|||
|
// label4
|
|||
|
//
|
|||
|
label4.AutoSize = true;
|
|||
|
label4.Location = new Point(523, 310);
|
|||
|
label4.Name = "label4";
|
|||
|
label4.Size = new Size(144, 20);
|
|||
|
label4.TabIndex = 11;
|
|||
|
label4.Text = "Количество комнат";
|
|||
|
//
|
|||
|
// numericUpDownCountStar
|
|||
|
//
|
|||
|
numericUpDownCountStar.Location = new Point(508, 249);
|
|||
|
numericUpDownCountStar.Name = "numericUpDownCountStar";
|
|||
|
numericUpDownCountStar.Size = new Size(280, 27);
|
|||
|
numericUpDownCountStar.TabIndex = 12;
|
|||
|
//
|
|||
|
// numericUpDownCountRoom
|
|||
|
//
|
|||
|
numericUpDownCountRoom.Location = new Point(508, 333);
|
|||
|
numericUpDownCountRoom.Name = "numericUpDownCountRoom";
|
|||
|
numericUpDownCountRoom.Size = new Size(280, 27);
|
|||
|
numericUpDownCountRoom.TabIndex = 13;
|
|||
|
//
|
|||
|
// FormHotel
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(800, 450);
|
|||
|
Controls.Add(numericUpDownCountRoom);
|
|||
|
Controls.Add(numericUpDownCountStar);
|
|||
|
Controls.Add(label4);
|
|||
|
Controls.Add(label3);
|
|||
|
Controls.Add(label2);
|
|||
|
Controls.Add(label1);
|
|||
|
Controls.Add(textBoxAddress);
|
|||
|
Controls.Add(textBoxName);
|
|||
|
Controls.Add(button3);
|
|||
|
Controls.Add(button2);
|
|||
|
Controls.Add(button1);
|
|||
|
Controls.Add(dataGridView);
|
|||
|
Name = "FormHotel";
|
|||
|
Text = "FormHotel";
|
|||
|
Load += FormHotel_Load;
|
|||
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownCountStar).EndInit();
|
|||
|
((System.ComponentModel.ISupportInitialize)numericUpDownCountRoom).EndInit();
|
|||
|
ResumeLayout(false);
|
|||
|
PerformLayout();
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private DataGridView dataGridView;
|
|||
|
private Button button1;
|
|||
|
private Button button2;
|
|||
|
private Button button3;
|
|||
|
private TextBox textBoxName;
|
|||
|
private TextBox textBoxAddress;
|
|||
|
private Label label1;
|
|||
|
private Label label2;
|
|||
|
private Label label3;
|
|||
|
private Label label4;
|
|||
|
private NumericUpDown numericUpDownCountStar;
|
|||
|
private NumericUpDown numericUpDownCountRoom;
|
|||
|
}
|
|||
|
}
|