171 lines
6.2 KiB
C#
171 lines
6.2 KiB
C#
namespace ProjectAirline.Forms
|
|
{
|
|
partial class FormTicket
|
|
{
|
|
/// <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();
|
|
label3 = new Label();
|
|
comboBoxFlight = new ComboBox();
|
|
comboBoxPassenger = new ComboBox();
|
|
numericUpDownPrice = new NumericUpDown();
|
|
buttonAdd = new Button();
|
|
buttonCancel = new Button();
|
|
label4 = new Label();
|
|
dateTimePickerBuy = new DateTimePicker();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(49, 37);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(41, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Рейс";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(34, 122);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(79, 20);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Пассажир";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(12, 201);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(135, 20);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "Стоимость билета";
|
|
//
|
|
// comboBoxFlight
|
|
//
|
|
comboBoxFlight.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxFlight.FormattingEnabled = true;
|
|
comboBoxFlight.Location = new Point(166, 37);
|
|
comboBoxFlight.Name = "comboBoxFlight";
|
|
comboBoxFlight.Size = new Size(223, 28);
|
|
comboBoxFlight.TabIndex = 3;
|
|
//
|
|
// comboBoxPassenger
|
|
//
|
|
comboBoxPassenger.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxPassenger.FormattingEnabled = true;
|
|
comboBoxPassenger.Location = new Point(167, 122);
|
|
comboBoxPassenger.Name = "comboBoxPassenger";
|
|
comboBoxPassenger.Size = new Size(222, 28);
|
|
comboBoxPassenger.TabIndex = 4;
|
|
//
|
|
// numericUpDownPrice
|
|
//
|
|
numericUpDownPrice.DecimalPlaces = 2;
|
|
numericUpDownPrice.Location = new Point(166, 205);
|
|
numericUpDownPrice.Maximum = new decimal(new int[] { 10000000, 0, 0, 0 });
|
|
numericUpDownPrice.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
|
numericUpDownPrice.Name = "numericUpDownPrice";
|
|
numericUpDownPrice.Size = new Size(223, 27);
|
|
numericUpDownPrice.TabIndex = 5;
|
|
numericUpDownPrice.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Location = new Point(60, 332);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(109, 63);
|
|
buttonAdd.TabIndex = 6;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(261, 335);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(107, 60);
|
|
buttonCancel.TabIndex = 7;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(34, 267);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(102, 20);
|
|
label4.TabIndex = 8;
|
|
label4.Text = "Дата покупки";
|
|
//
|
|
// dateTimePickerBuy
|
|
//
|
|
dateTimePickerBuy.Location = new Point(163, 267);
|
|
dateTimePickerBuy.Name = "dateTimePickerBuy";
|
|
dateTimePickerBuy.Size = new Size(226, 27);
|
|
dateTimePickerBuy.TabIndex = 9;
|
|
//
|
|
// FormTicket
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(440, 450);
|
|
Controls.Add(dateTimePickerBuy);
|
|
Controls.Add(label4);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonAdd);
|
|
Controls.Add(numericUpDownPrice);
|
|
Controls.Add(comboBoxPassenger);
|
|
Controls.Add(comboBoxFlight);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "FormTicket";
|
|
Text = "Билет";
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private ComboBox comboBoxFlight;
|
|
private ComboBox comboBoxPassenger;
|
|
private NumericUpDown numericUpDownPrice;
|
|
private Button buttonAdd;
|
|
private Button buttonCancel;
|
|
private Label label4;
|
|
private DateTimePicker dateTimePickerBuy;
|
|
}
|
|
} |