265 lines
10 KiB
C#
265 lines
10 KiB
C#
namespace ProjectFuel.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()
|
|
{
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
label5 = new Label();
|
|
label6 = new Label();
|
|
dateTimePickerStartDate = new DateTimePicker();
|
|
dateTimePickerEndDate = new DateTimePicker();
|
|
comboBoxShift = new ComboBox();
|
|
numericUpDownConsumptionRate = new NumericUpDown();
|
|
comboBoxCarID = new ComboBox();
|
|
comboBoxDriverID = new ComboBox();
|
|
buttonTripSave = new Button();
|
|
buttonCancel = new Button();
|
|
groupBox = new GroupBox();
|
|
dataGridViewRoutes = new DataGridView();
|
|
ColumnRoute = new DataGridViewComboBoxColumn();
|
|
ColumnEndPoint = new DataGridViewTextBoxColumn();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownConsumptionRate).BeginInit();
|
|
groupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewRoutes).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(52, 38);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(149, 32);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Дата начала";
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(61, 104);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(138, 32);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "Дата конца";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(62, 163);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(85, 32);
|
|
label3.TabIndex = 2;
|
|
label3.Text = "Смена";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(59, 219);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(185, 32);
|
|
label4.TabIndex = 3;
|
|
label4.Text = "Расход топлива";
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(55, 276);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(107, 32);
|
|
label5.TabIndex = 4;
|
|
label5.Text = "Машина";
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(61, 339);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(117, 32);
|
|
label6.TabIndex = 5;
|
|
label6.Text = "Водитель";
|
|
//
|
|
// dateTimePickerStartDate
|
|
//
|
|
dateTimePickerStartDate.Location = new Point(303, 31);
|
|
dateTimePickerStartDate.Name = "dateTimePickerStartDate";
|
|
dateTimePickerStartDate.Size = new Size(400, 39);
|
|
dateTimePickerStartDate.TabIndex = 6;
|
|
//
|
|
// dateTimePickerEndDate
|
|
//
|
|
dateTimePickerEndDate.Location = new Point(295, 106);
|
|
dateTimePickerEndDate.Name = "dateTimePickerEndDate";
|
|
dateTimePickerEndDate.Size = new Size(400, 39);
|
|
dateTimePickerEndDate.TabIndex = 7;
|
|
//
|
|
// comboBoxShift
|
|
//
|
|
comboBoxShift.FormattingEnabled = true;
|
|
comboBoxShift.Location = new Point(292, 171);
|
|
comboBoxShift.Name = "comboBoxShift";
|
|
comboBoxShift.Size = new Size(242, 40);
|
|
comboBoxShift.TabIndex = 8;
|
|
//
|
|
// numericUpDownConsumptionRate
|
|
//
|
|
numericUpDownConsumptionRate.Location = new Point(288, 232);
|
|
numericUpDownConsumptionRate.Name = "numericUpDownConsumptionRate";
|
|
numericUpDownConsumptionRate.Size = new Size(240, 39);
|
|
numericUpDownConsumptionRate.TabIndex = 9;
|
|
//
|
|
// comboBoxCarID
|
|
//
|
|
comboBoxCarID.FormattingEnabled = true;
|
|
comboBoxCarID.Location = new Point(281, 288);
|
|
comboBoxCarID.Name = "comboBoxCarID";
|
|
comboBoxCarID.Size = new Size(242, 40);
|
|
comboBoxCarID.TabIndex = 10;
|
|
//
|
|
// comboBoxDriverID
|
|
//
|
|
comboBoxDriverID.FormattingEnabled = true;
|
|
comboBoxDriverID.Location = new Point(274, 348);
|
|
comboBoxDriverID.Name = "comboBoxDriverID";
|
|
comboBoxDriverID.Size = new Size(242, 40);
|
|
comboBoxDriverID.TabIndex = 11;
|
|
//
|
|
// buttonTripSave
|
|
//
|
|
buttonTripSave.Location = new Point(79, 649);
|
|
buttonTripSave.Name = "buttonTripSave";
|
|
buttonTripSave.Size = new Size(150, 46);
|
|
buttonTripSave.TabIndex = 14;
|
|
buttonTripSave.Text = "Сохранить";
|
|
buttonTripSave.UseVisualStyleBackColor = true;
|
|
buttonTripSave.Click += ButtonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Location = new Point(346, 649);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(150, 46);
|
|
buttonCancel.TabIndex = 15;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += ButtonCancel_Click;
|
|
//
|
|
// groupBox
|
|
//
|
|
groupBox.Controls.Add(dataGridViewRoutes);
|
|
groupBox.Location = new Point(52, 421);
|
|
groupBox.Name = "groupBox";
|
|
groupBox.Size = new Size(410, 222);
|
|
groupBox.TabIndex = 16;
|
|
groupBox.TabStop = false;
|
|
groupBox.Text = "Маршруты";
|
|
//
|
|
// dataGridViewRoutes
|
|
//
|
|
dataGridViewRoutes.AllowUserToResizeColumns = false;
|
|
dataGridViewRoutes.AllowUserToResizeRows = false;
|
|
dataGridViewRoutes.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridViewRoutes.Columns.AddRange(new DataGridViewColumn[] { ColumnRoute, ColumnEndPoint });
|
|
dataGridViewRoutes.Dock = DockStyle.Fill;
|
|
dataGridViewRoutes.Location = new Point(3, 35);
|
|
dataGridViewRoutes.Margin = new Padding(5);
|
|
dataGridViewRoutes.MultiSelect = false;
|
|
dataGridViewRoutes.Name = "dataGridViewRoutes";
|
|
dataGridViewRoutes.RowHeadersVisible = false;
|
|
dataGridViewRoutes.RowHeadersWidth = 51;
|
|
dataGridViewRoutes.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridViewRoutes.Size = new Size(404, 184);
|
|
dataGridViewRoutes.TabIndex = 1;
|
|
//
|
|
// ColumnRoute
|
|
//
|
|
ColumnRoute.HeaderText = "Маршрут";
|
|
ColumnRoute.MinimumWidth = 6;
|
|
ColumnRoute.Name = "ColumnRoute";
|
|
ColumnRoute.Width = 125;
|
|
//
|
|
// ColumnEndPoint
|
|
//
|
|
ColumnEndPoint.HeaderText = "Конечная точка";
|
|
ColumnEndPoint.MinimumWidth = 6;
|
|
ColumnEndPoint.Name = "ColumnEndPoint";
|
|
ColumnEndPoint.Width = 125;
|
|
//
|
|
// FormTrip
|
|
//
|
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(843, 745);
|
|
Controls.Add(groupBox);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonTripSave);
|
|
Controls.Add(comboBoxDriverID);
|
|
Controls.Add(comboBoxCarID);
|
|
Controls.Add(numericUpDownConsumptionRate);
|
|
Controls.Add(comboBoxShift);
|
|
Controls.Add(dateTimePickerEndDate);
|
|
Controls.Add(dateTimePickerStartDate);
|
|
Controls.Add(label6);
|
|
Controls.Add(label5);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Name = "FormTrip";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "FormTrip";
|
|
((System.ComponentModel.ISupportInitialize)numericUpDownConsumptionRate).EndInit();
|
|
groupBox.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridViewRoutes).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private Label label4;
|
|
private Label label5;
|
|
private Label label6;
|
|
private DateTimePicker dateTimePickerStartDate;
|
|
private DateTimePicker dateTimePickerEndDate;
|
|
private ComboBox comboBoxShift;
|
|
private NumericUpDown numericUpDownConsumptionRate;
|
|
private ComboBox comboBoxCarID;
|
|
private ComboBox comboBoxDriverID;
|
|
private Button buttonTripSave;
|
|
private Button buttonCancel;
|
|
private GroupBox groupBox;
|
|
private DataGridView dataGridViewRoutes;
|
|
private DataGridViewComboBoxColumn ColumnRoute;
|
|
private DataGridViewTextBoxColumn ColumnEndPoint;
|
|
}
|
|
} |