2024-05-29 14:28:53 +04:00
|
|
|
|
namespace HotelView
|
|
|
|
|
{
|
|
|
|
|
partial class FormGuest
|
|
|
|
|
{
|
|
|
|
|
/// <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()
|
|
|
|
|
{
|
|
|
|
|
label4 = new Label();
|
|
|
|
|
label3 = new Label();
|
|
|
|
|
label2 = new Label();
|
|
|
|
|
label1 = new Label();
|
|
|
|
|
textBoxPhone = new TextBox();
|
|
|
|
|
textBoxName = new TextBox();
|
|
|
|
|
button3 = new Button();
|
|
|
|
|
button2 = new Button();
|
|
|
|
|
button1 = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
comboBox1 = new ComboBox();
|
|
|
|
|
label5 = new Label();
|
|
|
|
|
dateTimePicker1 = new DateTimePicker();
|
|
|
|
|
textBoxPassport = new TextBox();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// label4
|
|
|
|
|
//
|
|
|
|
|
label4.AutoSize = true;
|
|
|
|
|
label4.Location = new Point(529, 238);
|
|
|
|
|
label4.Name = "label4";
|
|
|
|
|
label4.Size = new Size(173, 20);
|
|
|
|
|
label4.TabIndex = 23;
|
|
|
|
|
label4.Text = "Серия номер Паспорта";
|
|
|
|
|
//
|
|
|
|
|
// label3
|
|
|
|
|
//
|
|
|
|
|
label3.AutoSize = true;
|
|
|
|
|
label3.Location = new Point(529, 161);
|
|
|
|
|
label3.Name = "label3";
|
|
|
|
|
label3.Size = new Size(116, 20);
|
|
|
|
|
label3.TabIndex = 22;
|
|
|
|
|
label3.Text = "Дата рождения";
|
|
|
|
|
label3.Click += label3_Click;
|
|
|
|
|
//
|
|
|
|
|
// label2
|
|
|
|
|
//
|
|
|
|
|
label2.AutoSize = true;
|
|
|
|
|
label2.Location = new Point(529, 91);
|
|
|
|
|
label2.Name = "label2";
|
|
|
|
|
label2.Size = new Size(127, 20);
|
|
|
|
|
label2.TabIndex = 21;
|
|
|
|
|
label2.Text = "Номер телефона";
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
|
label1.AutoSize = true;
|
|
|
|
|
label1.Location = new Point(529, 21);
|
|
|
|
|
label1.Name = "label1";
|
|
|
|
|
label1.Size = new Size(174, 20);
|
|
|
|
|
label1.TabIndex = 20;
|
|
|
|
|
label1.Text = "Фамилия Имя Отчество";
|
|
|
|
|
//
|
|
|
|
|
// textBoxPhone
|
|
|
|
|
//
|
|
|
|
|
textBoxPhone.Location = new Point(514, 114);
|
|
|
|
|
textBoxPhone.Name = "textBoxPhone";
|
|
|
|
|
textBoxPhone.Size = new Size(280, 27);
|
|
|
|
|
textBoxPhone.TabIndex = 19;
|
|
|
|
|
//
|
|
|
|
|
// textBoxName
|
|
|
|
|
//
|
|
|
|
|
textBoxName.Location = new Point(514, 44);
|
|
|
|
|
textBoxName.Name = "textBoxName";
|
|
|
|
|
textBoxName.Size = new Size(280, 27);
|
|
|
|
|
textBoxName.TabIndex = 18;
|
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
button3.Location = new Point(700, 410);
|
|
|
|
|
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(600, 410);
|
|
|
|
|
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(500, 410);
|
|
|
|
|
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(6, 1);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(478, 448);
|
|
|
|
|
dataGridView.TabIndex = 14;
|
2024-05-30 13:12:02 +04:00
|
|
|
|
dataGridView.CellClick += DataGridView_CellClick;
|
2024-05-29 14:28:53 +04:00
|
|
|
|
//
|
|
|
|
|
// comboBox1
|
|
|
|
|
//
|
|
|
|
|
comboBox1.FormattingEnabled = true;
|
|
|
|
|
comboBox1.Location = new Point(514, 339);
|
|
|
|
|
comboBox1.Name = "comboBox1";
|
|
|
|
|
comboBox1.Size = new Size(280, 28);
|
|
|
|
|
comboBox1.TabIndex = 26;
|
|
|
|
|
//
|
|
|
|
|
// label5
|
|
|
|
|
//
|
|
|
|
|
label5.AutoSize = true;
|
|
|
|
|
label5.Location = new Point(529, 316);
|
|
|
|
|
label5.Name = "label5";
|
|
|
|
|
label5.Size = new Size(108, 20);
|
|
|
|
|
label5.TabIndex = 27;
|
|
|
|
|
label5.Text = "Выберите пол";
|
|
|
|
|
//
|
|
|
|
|
// dateTimePicker1
|
|
|
|
|
//
|
|
|
|
|
dateTimePicker1.Location = new Point(514, 184);
|
|
|
|
|
dateTimePicker1.Name = "dateTimePicker1";
|
|
|
|
|
dateTimePicker1.Size = new Size(280, 27);
|
|
|
|
|
dateTimePicker1.TabIndex = 28;
|
|
|
|
|
//
|
|
|
|
|
// textBoxPassport
|
|
|
|
|
//
|
|
|
|
|
textBoxPassport.Location = new Point(514, 261);
|
|
|
|
|
textBoxPassport.Name = "textBoxPassport";
|
|
|
|
|
textBoxPassport.Size = new Size(280, 27);
|
|
|
|
|
textBoxPassport.TabIndex = 29;
|
|
|
|
|
//
|
|
|
|
|
// FormGuest
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
|
|
|
|
Controls.Add(textBoxPassport);
|
|
|
|
|
Controls.Add(dateTimePicker1);
|
|
|
|
|
Controls.Add(label5);
|
|
|
|
|
Controls.Add(comboBox1);
|
|
|
|
|
Controls.Add(label4);
|
|
|
|
|
Controls.Add(label3);
|
|
|
|
|
Controls.Add(label2);
|
|
|
|
|
Controls.Add(label1);
|
|
|
|
|
Controls.Add(textBoxPhone);
|
|
|
|
|
Controls.Add(textBoxName);
|
|
|
|
|
Controls.Add(button3);
|
|
|
|
|
Controls.Add(button2);
|
|
|
|
|
Controls.Add(button1);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Name = "FormGuest";
|
|
|
|
|
Text = "FormGuest";
|
|
|
|
|
Load += FormGuest_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
private Label label4;
|
|
|
|
|
private Label label3;
|
|
|
|
|
private Label label2;
|
|
|
|
|
private Label label1;
|
|
|
|
|
private TextBox textBoxPhone;
|
|
|
|
|
private TextBox textBoxName;
|
|
|
|
|
private Button button3;
|
|
|
|
|
private Button button2;
|
|
|
|
|
private Button button1;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private ComboBox comboBox1;
|
|
|
|
|
private Label label5;
|
|
|
|
|
private DateTimePicker dateTimePicker1;
|
|
|
|
|
private TextBox textBoxPassport;
|
|
|
|
|
}
|
|
|
|
|
}
|