322 lines
14 KiB
C#
322 lines
14 KiB
C#
namespace ProjectTourismCompany.Forms
|
|
{
|
|
partial class FormTrip
|
|
{
|
|
/// <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()
|
|
{
|
|
labelPrice = new Label();
|
|
labelHumanCapacity = new Label();
|
|
labelStartDate = new Label();
|
|
labelEndDate = new Label();
|
|
labelStartCity = new Label();
|
|
labelEndCity = new Label();
|
|
labelTravelType = new Label();
|
|
numericUpDownPrice = new NumericUpDown();
|
|
numericUpDownHumanCapacity = new NumericUpDown();
|
|
dateTimePickerStartDate = new DateTimePicker();
|
|
dateTimePickerEndDate = new DateTimePicker();
|
|
textBoxStartCity = new TextBox();
|
|
textBoxEndCity = new TextBox();
|
|
checkedListBoxTravelType = new CheckedListBox();
|
|
buttonCancel = new Button();
|
|
buttonSave = new Button();
|
|
label1 = new Label();
|
|
textBoxTitle = new TextBox();
|
|
groupBox1 = new GroupBox();
|
|
dataGridView1 = new DataGridView();
|
|
columnCompanyName = new DataGridViewComboBoxColumn();
|
|
ColumnAdditionalPrice = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownHumanCapacity).BeginInit();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// labelPrice
|
|
//
|
|
labelPrice.AutoSize = true;
|
|
labelPrice.Location = new Point(36, 71);
|
|
labelPrice.Name = "labelPrice";
|
|
labelPrice.Size = new Size(45, 20);
|
|
labelPrice.TabIndex = 0;
|
|
labelPrice.Text = "Цена";
|
|
//
|
|
// labelHumanCapacity
|
|
//
|
|
labelHumanCapacity.AutoSize = true;
|
|
labelHumanCapacity.Location = new Point(36, 116);
|
|
labelHumanCapacity.Name = "labelHumanCapacity";
|
|
labelHumanCapacity.Size = new Size(142, 20);
|
|
labelHumanCapacity.TabIndex = 1;
|
|
labelHumanCapacity.Text = "Человек максимум";
|
|
//
|
|
// labelStartDate
|
|
//
|
|
labelStartDate.AutoSize = true;
|
|
labelStartDate.Location = new Point(36, 172);
|
|
labelStartDate.Name = "labelStartDate";
|
|
labelStartDate.Size = new Size(94, 20);
|
|
labelStartDate.TabIndex = 2;
|
|
labelStartDate.Text = "Дата начала";
|
|
//
|
|
// labelEndDate
|
|
//
|
|
labelEndDate.AutoSize = true;
|
|
labelEndDate.Location = new Point(36, 227);
|
|
labelEndDate.Name = "labelEndDate";
|
|
labelEndDate.Size = new Size(87, 20);
|
|
labelEndDate.TabIndex = 3;
|
|
labelEndDate.Text = "Дата конца";
|
|
//
|
|
// labelStartCity
|
|
//
|
|
labelStartCity.AutoSize = true;
|
|
labelStartCity.Location = new Point(36, 285);
|
|
labelStartCity.Name = "labelStartCity";
|
|
labelStartCity.Size = new Size(129, 20);
|
|
labelStartCity.TabIndex = 4;
|
|
labelStartCity.Text = "Стартовый город";
|
|
//
|
|
// labelEndCity
|
|
//
|
|
labelEndCity.AutoSize = true;
|
|
labelEndCity.Location = new Point(36, 339);
|
|
labelEndCity.Name = "labelEndCity";
|
|
labelEndCity.Size = new Size(126, 20);
|
|
labelEndCity.TabIndex = 5;
|
|
labelEndCity.Text = "Конечный город";
|
|
//
|
|
// labelTravelType
|
|
//
|
|
labelTravelType.AutoSize = true;
|
|
labelTravelType.Location = new Point(35, 427);
|
|
labelTravelType.Name = "labelTravelType";
|
|
labelTravelType.Size = new Size(127, 20);
|
|
labelTravelType.TabIndex = 6;
|
|
labelTravelType.Text = "Тип путешествия";
|
|
//
|
|
// numericUpDownPrice
|
|
//
|
|
numericUpDownPrice.Location = new Point(273, 69);
|
|
numericUpDownPrice.Maximum = new decimal(new int[] { 1000000, 0, 0, 0 });
|
|
numericUpDownPrice.Minimum = new decimal(new int[] { 10000, 0, 0, 0 });
|
|
numericUpDownPrice.Name = "numericUpDownPrice";
|
|
numericUpDownPrice.Size = new Size(220, 27);
|
|
numericUpDownPrice.TabIndex = 7;
|
|
numericUpDownPrice.Value = new decimal(new int[] { 10000, 0, 0, 0 });
|
|
//
|
|
// numericUpDownHumanCapacity
|
|
//
|
|
numericUpDownHumanCapacity.Location = new Point(273, 114);
|
|
numericUpDownHumanCapacity.Minimum = new decimal(new int[] { 5, 0, 0, 0 });
|
|
numericUpDownHumanCapacity.Name = "numericUpDownHumanCapacity";
|
|
numericUpDownHumanCapacity.Size = new Size(220, 27);
|
|
numericUpDownHumanCapacity.TabIndex = 8;
|
|
numericUpDownHumanCapacity.Value = new decimal(new int[] { 5, 0, 0, 0 });
|
|
//
|
|
// dateTimePickerStartDate
|
|
//
|
|
dateTimePickerStartDate.Location = new Point(273, 167);
|
|
dateTimePickerStartDate.Name = "dateTimePickerStartDate";
|
|
dateTimePickerStartDate.Size = new Size(220, 27);
|
|
dateTimePickerStartDate.TabIndex = 9;
|
|
//
|
|
// dateTimePickerEndDate
|
|
//
|
|
dateTimePickerEndDate.Location = new Point(273, 222);
|
|
dateTimePickerEndDate.Name = "dateTimePickerEndDate";
|
|
dateTimePickerEndDate.Size = new Size(220, 27);
|
|
dateTimePickerEndDate.TabIndex = 10;
|
|
//
|
|
// textBoxStartCity
|
|
//
|
|
textBoxStartCity.Location = new Point(273, 285);
|
|
textBoxStartCity.Name = "textBoxStartCity";
|
|
textBoxStartCity.Size = new Size(220, 27);
|
|
textBoxStartCity.TabIndex = 11;
|
|
//
|
|
// textBoxEndCity
|
|
//
|
|
textBoxEndCity.Location = new Point(273, 339);
|
|
textBoxEndCity.Name = "textBoxEndCity";
|
|
textBoxEndCity.Size = new Size(220, 27);
|
|
textBoxEndCity.TabIndex = 12;
|
|
//
|
|
// checkedListBoxTravelType
|
|
//
|
|
checkedListBoxTravelType.FormattingEnabled = true;
|
|
checkedListBoxTravelType.Location = new Point(273, 383);
|
|
checkedListBoxTravelType.Name = "checkedListBoxTravelType";
|
|
checkedListBoxTravelType.Size = new Size(220, 114);
|
|
checkedListBoxTravelType.TabIndex = 13;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonCancel.BackColor = Color.IndianRed;
|
|
buttonCancel.Location = new Point(605, 512);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(135, 51);
|
|
buttonCancel.TabIndex = 15;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = false;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonSave.BackColor = Color.LimeGreen;
|
|
buttonSave.Location = new Point(796, 512);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(135, 51);
|
|
buttonSave.TabIndex = 14;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = false;
|
|
buttonSave.Click += ButtonSave_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(36, 12);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(111, 20);
|
|
label1.TabIndex = 16;
|
|
label1.Text = "Название тура";
|
|
//
|
|
// textBoxTitle
|
|
//
|
|
textBoxTitle.Location = new Point(273, 12);
|
|
textBoxTitle.Name = "textBoxTitle";
|
|
textBoxTitle.Size = new Size(220, 27);
|
|
textBoxTitle.TabIndex = 17;
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox1.Controls.Add(dataGridView1);
|
|
groupBox1.Location = new Point(499, 12);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(432, 476);
|
|
groupBox1.TabIndex = 20;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "groupBox1";
|
|
//
|
|
// dataGridView1
|
|
//
|
|
dataGridView1.AllowUserToDeleteRows = false;
|
|
dataGridView1.AllowUserToResizeColumns = false;
|
|
dataGridView1.AllowUserToResizeRows = false;
|
|
dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView1.Columns.AddRange(new DataGridViewColumn[] { columnCompanyName, ColumnAdditionalPrice });
|
|
dataGridView1.Dock = DockStyle.Fill;
|
|
dataGridView1.Location = new Point(3, 23);
|
|
dataGridView1.MultiSelect = false;
|
|
dataGridView1.Name = "dataGridView1";
|
|
dataGridView1.ReadOnly = true;
|
|
dataGridView1.RowHeadersVisible = false;
|
|
dataGridView1.RowHeadersWidth = 51;
|
|
dataGridView1.Size = new Size(426, 450);
|
|
dataGridView1.TabIndex = 0;
|
|
//
|
|
// columnCompanyName
|
|
//
|
|
columnCompanyName.HeaderText = "Название компании";
|
|
columnCompanyName.MinimumWidth = 6;
|
|
columnCompanyName.Name = "columnCompanyName";
|
|
columnCompanyName.ReadOnly = true;
|
|
//
|
|
// ColumnAdditionalPrice
|
|
//
|
|
ColumnAdditionalPrice.HeaderText = "Добавочная стоимость";
|
|
ColumnAdditionalPrice.MinimumWidth = 6;
|
|
ColumnAdditionalPrice.Name = "ColumnAdditionalPrice";
|
|
ColumnAdditionalPrice.ReadOnly = true;
|
|
ColumnAdditionalPrice.Resizable = DataGridViewTriState.True;
|
|
ColumnAdditionalPrice.SortMode = DataGridViewColumnSortMode.NotSortable;
|
|
//
|
|
// FormTrip
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(943, 573);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(textBoxTitle);
|
|
Controls.Add(label1);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(checkedListBoxTravelType);
|
|
Controls.Add(textBoxEndCity);
|
|
Controls.Add(textBoxStartCity);
|
|
Controls.Add(dateTimePickerEndDate);
|
|
Controls.Add(dateTimePickerStartDate);
|
|
Controls.Add(numericUpDownHumanCapacity);
|
|
Controls.Add(numericUpDownPrice);
|
|
Controls.Add(labelTravelType);
|
|
Controls.Add(labelEndCity);
|
|
Controls.Add(labelStartCity);
|
|
Controls.Add(labelEndDate);
|
|
Controls.Add(labelStartDate);
|
|
Controls.Add(labelHumanCapacity);
|
|
Controls.Add(labelPrice);
|
|
Name = "FormTrip";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Туры";
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownPrice).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownHumanCapacity).EndInit();
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label labelPrice;
|
|
private Label labelHumanCapacity;
|
|
private Label labelStartDate;
|
|
private Label labelEndDate;
|
|
private Label labelStartCity;
|
|
private Label labelEndCity;
|
|
private Label labelTravelType;
|
|
private NumericUpDown numericUpDownPrice;
|
|
private NumericUpDown numericUpDownHumanCapacity;
|
|
private DateTimePicker dateTimePickerStartDate;
|
|
private DateTimePicker dateTimePickerEndDate;
|
|
private TextBox textBoxStartCity;
|
|
private TextBox textBoxEndCity;
|
|
private CheckedListBox checkedListBoxTravelType;
|
|
private Button buttonCancel;
|
|
private Button buttonSave;
|
|
private Label label1;
|
|
private TextBox textBoxTitle;
|
|
private GroupBox groupBox1;
|
|
private DataGridView dataGridView1;
|
|
private DataGridViewComboBoxColumn columnCompanyName;
|
|
private DataGridViewTextBoxColumn ColumnAdditionalPrice;
|
|
}
|
|
} |