220 lines
8.0 KiB
C#
220 lines
8.0 KiB
C#
namespace HotelView
|
|
{
|
|
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()
|
|
{
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
label5 = new Label();
|
|
label6 = new Label();
|
|
textBoxTotalPrice = new TextBox();
|
|
textBoxTotalHour = new TextBox();
|
|
comboBoxRoom = new ComboBox();
|
|
comboBoxClient = new ComboBox();
|
|
dateTimePickerArriv = new DateTimePicker();
|
|
dateTimePickerDep = new DateTimePicker();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(14, 27);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(72, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Комната:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(14, 68);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(61, 20);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Клиент:";
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(283, 280);
|
|
buttonCancel.Margin = new Padding(3, 4, 3, 4);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(88, 40);
|
|
buttonCancel.TabIndex = 7;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Location = new Point(93, 280);
|
|
buttonSave.Margin = new Padding(3, 4, 3, 4);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(95, 40);
|
|
buttonSave.TabIndex = 6;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(14, 120);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(118, 20);
|
|
label3.TabIndex = 8;
|
|
label3.Text = "Дата прибытия:";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(14, 167);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(103, 20);
|
|
label4.TabIndex = 9;
|
|
label4.Text = "Дата отъезда:";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(14, 233);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(48, 20);
|
|
label5.TabIndex = 10;
|
|
label5.Text = "Цена:";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(218, 233);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(48, 20);
|
|
label6.TabIndex = 11;
|
|
label6.Text = "Часы:";
|
|
//
|
|
// textBoxTotalPrice
|
|
//
|
|
textBoxTotalPrice.Enabled = false;
|
|
textBoxTotalPrice.Location = new Point(68, 230);
|
|
textBoxTotalPrice.Name = "textBoxTotalPrice";
|
|
textBoxTotalPrice.Size = new Size(144, 27);
|
|
textBoxTotalPrice.TabIndex = 12;
|
|
//
|
|
// textBoxTotalHour
|
|
//
|
|
textBoxTotalHour.Enabled = false;
|
|
textBoxTotalHour.Location = new Point(272, 230);
|
|
textBoxTotalHour.Name = "textBoxTotalHour";
|
|
textBoxTotalHour.Size = new Size(144, 27);
|
|
textBoxTotalHour.TabIndex = 13;
|
|
//
|
|
// comboBoxRoom
|
|
//
|
|
comboBoxRoom.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxRoom.FormattingEnabled = true;
|
|
comboBoxRoom.Location = new Point(93, 24);
|
|
comboBoxRoom.Name = "comboBoxRoom";
|
|
comboBoxRoom.Size = new Size(323, 28);
|
|
comboBoxRoom.TabIndex = 14;
|
|
//
|
|
// comboBoxClient
|
|
//
|
|
comboBoxClient.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxClient.FormattingEnabled = true;
|
|
comboBoxClient.Location = new Point(93, 68);
|
|
comboBoxClient.Name = "comboBoxClient";
|
|
comboBoxClient.Size = new Size(323, 28);
|
|
comboBoxClient.TabIndex = 15;
|
|
comboBoxClient.SelectedIndexChanged += comboBoxClient_SelectedIndexChanged;
|
|
//
|
|
// dateTimePickerArriv
|
|
//
|
|
dateTimePickerArriv.Format = DateTimePickerFormat.Time;
|
|
dateTimePickerArriv.Location = new Point(138, 120);
|
|
dateTimePickerArriv.Name = "dateTimePickerArriv";
|
|
dateTimePickerArriv.Size = new Size(278, 27);
|
|
dateTimePickerArriv.TabIndex = 16;
|
|
dateTimePickerArriv.ValueChanged += textBoxdateTimePickerArriv_TextChanged;
|
|
//
|
|
// dateTimePickerDep
|
|
//
|
|
dateTimePickerDep.Format = DateTimePickerFormat.Time;
|
|
dateTimePickerDep.Location = new Point(138, 167);
|
|
dateTimePickerDep.Name = "dateTimePickerDep";
|
|
dateTimePickerDep.Size = new Size(278, 27);
|
|
dateTimePickerDep.TabIndex = 17;
|
|
dateTimePickerDep.ValueChanged += textBoxdateTimePickerDep_TextChanged;
|
|
//
|
|
// FormBooking
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(454, 366);
|
|
Controls.Add(dateTimePickerDep);
|
|
Controls.Add(dateTimePickerArriv);
|
|
Controls.Add(comboBoxClient);
|
|
Controls.Add(comboBoxRoom);
|
|
Controls.Add(textBoxTotalHour);
|
|
Controls.Add(textBoxTotalPrice);
|
|
Controls.Add(label6);
|
|
Controls.Add(label5);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
Name = "FormBooking";
|
|
Text = "Покупатель";
|
|
Load += FormBooking_Load;
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private Label label3;
|
|
private Label label4;
|
|
private Label label5;
|
|
private Label label6;
|
|
private TextBox textBoxTotalPrice;
|
|
private TextBox textBoxTotalHour;
|
|
private ComboBox comboBoxRoom;
|
|
private ComboBox comboBoxClient;
|
|
private DateTimePicker dateTimePickerArriv;
|
|
private DateTimePicker dateTimePickerDep;
|
|
}
|
|
} |