274 lines
11 KiB
C#
274 lines
11 KiB
C#
namespace ProjectAirline.Forms
|
|
{
|
|
partial class FormFlight
|
|
{
|
|
/// <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();
|
|
label4 = new Label();
|
|
label5 = new Label();
|
|
label6 = new Label();
|
|
comboBoxAirplane = new ComboBox();
|
|
dateTimePickerDeparture = new DateTimePicker();
|
|
dateTimePickerArrival = new DateTimePicker();
|
|
numericUpDownPrice = new NumericUpDown();
|
|
textBoxDestination = new TextBox();
|
|
textBoxDeparture = new TextBox();
|
|
groupBox1 = new GroupBox();
|
|
dataGridView = new DataGridView();
|
|
ColumnEmployee = new DataGridViewComboBoxColumn();
|
|
ColumnFlight = new DataGridViewTextBoxColumn();
|
|
ColumnHoursWork = new DataGridViewTextBoxColumn();
|
|
buttonAdd = new Button();
|
|
buttonCancel = new Button();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(12, 76);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(149, 20);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Время отправления";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(12, 125);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(128, 20);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Время прибытия";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(12, 172);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(136, 20);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "Пункт назначения";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(12, 218);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(144, 20);
|
|
label4.TabIndex = 3;
|
|
label4.Text = "Пункт отправления";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(12, 274);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(97, 20);
|
|
label5.TabIndex = 4;
|
|
label5.Text = "Цена билета";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(41, 16);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(68, 20);
|
|
label6.TabIndex = 5;
|
|
label6.Text = "Самолёт";
|
|
//
|
|
// comboBoxAirplane
|
|
//
|
|
comboBoxAirplane.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
comboBoxAirplane.FormattingEnabled = true;
|
|
comboBoxAirplane.Location = new Point(183, 16);
|
|
comboBoxAirplane.Name = "comboBoxAirplane";
|
|
comboBoxAirplane.Size = new Size(231, 28);
|
|
comboBoxAirplane.TabIndex = 6;
|
|
//
|
|
// dateTimePickerDeparture
|
|
//
|
|
dateTimePickerDeparture.Location = new Point(183, 76);
|
|
dateTimePickerDeparture.Name = "dateTimePickerDeparture";
|
|
dateTimePickerDeparture.Size = new Size(250, 27);
|
|
dateTimePickerDeparture.TabIndex = 7;
|
|
//
|
|
// dateTimePickerArrival
|
|
//
|
|
dateTimePickerArrival.Location = new Point(183, 125);
|
|
dateTimePickerArrival.Name = "dateTimePickerArrival";
|
|
dateTimePickerArrival.Size = new Size(250, 27);
|
|
dateTimePickerArrival.TabIndex = 8;
|
|
//
|
|
// numericUpDownPrice
|
|
//
|
|
numericUpDownPrice.Location = new Point(183, 274);
|
|
numericUpDownPrice.Maximum = new decimal(new int[] { 100000, 0, 0, 0 });
|
|
numericUpDownPrice.Name = "numericUpDownPrice";
|
|
numericUpDownPrice.Size = new Size(250, 27);
|
|
numericUpDownPrice.TabIndex = 9;
|
|
//
|
|
// textBoxDestination
|
|
//
|
|
textBoxDestination.Location = new Point(183, 171);
|
|
textBoxDestination.Name = "textBoxDestination";
|
|
textBoxDestination.Size = new Size(250, 27);
|
|
textBoxDestination.TabIndex = 10;
|
|
//
|
|
// textBoxDeparture
|
|
//
|
|
textBoxDeparture.Location = new Point(183, 215);
|
|
textBoxDeparture.Name = "textBoxDeparture";
|
|
textBoxDeparture.Size = new Size(250, 27);
|
|
textBoxDeparture.TabIndex = 11;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox1.Controls.Add(dataGridView);
|
|
groupBox1.Location = new Point(14, 353);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(594, 298);
|
|
groupBox1.TabIndex = 12;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Работники";
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnEmployee, ColumnFlight, ColumnHoursWork });
|
|
dataGridView.Location = new Point(6, 26);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.RowHeadersWidth = 51;
|
|
dataGridView.Size = new Size(582, 266);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnEmployee
|
|
//
|
|
ColumnEmployee.HeaderText = "Работник";
|
|
ColumnEmployee.MinimumWidth = 6;
|
|
ColumnEmployee.Name = "ColumnEmployee";
|
|
ColumnEmployee.Width = 125;
|
|
//
|
|
// ColumnFlight
|
|
//
|
|
ColumnFlight.HeaderText = "Рейс";
|
|
ColumnFlight.MinimumWidth = 6;
|
|
ColumnFlight.Name = "ColumnFlight";
|
|
ColumnFlight.Width = 125;
|
|
//
|
|
// ColumnHoursWork
|
|
//
|
|
ColumnHoursWork.HeaderText = "Часы работы";
|
|
ColumnHoursWork.MinimumWidth = 6;
|
|
ColumnHoursWork.Name = "ColumnHoursWork";
|
|
ColumnHoursWork.Width = 125;
|
|
//
|
|
// buttonAdd
|
|
//
|
|
buttonAdd.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonAdd.Location = new Point(15, 670);
|
|
buttonAdd.Name = "buttonAdd";
|
|
buttonAdd.Size = new Size(94, 40);
|
|
buttonAdd.TabIndex = 13;
|
|
buttonAdd.Text = "Добавить";
|
|
buttonAdd.UseVisualStyleBackColor = true;
|
|
buttonAdd.Click += ButtonAdd_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonCancel.Location = new Point(511, 670);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(94, 40);
|
|
buttonCancel.TabIndex = 14;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// FormFlight
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(620, 722);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonAdd);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(textBoxDeparture);
|
|
Controls.Add(textBoxDestination);
|
|
Controls.Add(numericUpDownPrice);
|
|
Controls.Add(dateTimePickerArrival);
|
|
Controls.Add(dateTimePickerDeparture);
|
|
Controls.Add(comboBoxAirplane);
|
|
Controls.Add(label6);
|
|
Controls.Add(label5);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "FormFlight";
|
|
Text = "FormFlight";
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private Label label4;
|
|
private Label label5;
|
|
private Label label6;
|
|
private ComboBox comboBoxAirplane;
|
|
private DateTimePicker dateTimePickerDeparture;
|
|
private DateTimePicker dateTimePickerArrival;
|
|
private NumericUpDown numericUpDownPrice;
|
|
private TextBox textBoxDestination;
|
|
private TextBox textBoxDeparture;
|
|
private GroupBox groupBox1;
|
|
private DataGridView dataGridView;
|
|
private Button buttonAdd;
|
|
private Button buttonCancel;
|
|
private DataGridViewComboBoxColumn ColumnEmployee;
|
|
private DataGridViewTextBoxColumn ColumnFlight;
|
|
private DataGridViewTextBoxColumn ColumnHoursWork;
|
|
}
|
|
} |