201 lines
8.0 KiB
C#
201 lines
8.0 KiB
C#
namespace ProjectGasStation.Forms
|
|
{
|
|
partial class FormFuelSale
|
|
{
|
|
/// <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()
|
|
{
|
|
comboBoxSalesperson = new ComboBox();
|
|
comboBoxShift = new ComboBox();
|
|
dateTimePickerDate = new DateTimePicker();
|
|
buttonSave = new Button();
|
|
buttonCancel = new Button();
|
|
label1 = new Label();
|
|
label2 = new Label();
|
|
label3 = new Label();
|
|
groupBox1 = new GroupBox();
|
|
dataGridView = new DataGridView();
|
|
ColumnFuel = new DataGridViewComboBoxColumn();
|
|
ColumnQuantity = new DataGridViewTextBoxColumn();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// comboBoxSalesperson
|
|
//
|
|
comboBoxSalesperson.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
comboBoxSalesperson.FormattingEnabled = true;
|
|
comboBoxSalesperson.Location = new Point(127, 12);
|
|
comboBoxSalesperson.Name = "comboBoxSalesperson";
|
|
comboBoxSalesperson.Size = new Size(222, 23);
|
|
comboBoxSalesperson.TabIndex = 0;
|
|
//
|
|
// comboBoxShift
|
|
//
|
|
comboBoxShift.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
comboBoxShift.FormattingEnabled = true;
|
|
comboBoxShift.Location = new Point(127, 41);
|
|
comboBoxShift.Name = "comboBoxShift";
|
|
comboBoxShift.Size = new Size(222, 23);
|
|
comboBoxShift.TabIndex = 1;
|
|
//
|
|
// dateTimePickerDate
|
|
//
|
|
dateTimePickerDate.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
dateTimePickerDate.Location = new Point(127, 70);
|
|
dateTimePickerDate.Name = "dateTimePickerDate";
|
|
dateTimePickerDate.Size = new Size(222, 23);
|
|
dateTimePickerDate.TabIndex = 4;
|
|
//
|
|
// buttonSave
|
|
//
|
|
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
buttonSave.Location = new Point(12, 302);
|
|
buttonSave.Name = "buttonSave";
|
|
buttonSave.Size = new Size(75, 23);
|
|
buttonSave.TabIndex = 5;
|
|
buttonSave.Text = "Сохранить";
|
|
buttonSave.UseVisualStyleBackColor = true;
|
|
buttonSave.Click += buttonSave_Click;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
|
|
buttonCancel.Location = new Point(274, 302);
|
|
buttonCancel.Name = "buttonCancel";
|
|
buttonCancel.Size = new Size(75, 23);
|
|
buttonCancel.TabIndex = 6;
|
|
buttonCancel.Text = "Отмена";
|
|
buttonCancel.UseVisualStyleBackColor = true;
|
|
buttonCancel.Click += buttonCancel_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(57, 15);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(64, 15);
|
|
label1.TabIndex = 7;
|
|
label1.Text = "Продавец:";
|
|
//
|
|
// label2
|
|
//
|
|
label2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(75, 44);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(46, 15);
|
|
label2.TabIndex = 8;
|
|
label2.Text = "Смена:";
|
|
//
|
|
// label3
|
|
//
|
|
label3.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(34, 74);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(87, 15);
|
|
label3.TabIndex = 9;
|
|
label3.Text = "Дата продажи:";
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
groupBox1.Controls.Add(dataGridView);
|
|
groupBox1.Location = new Point(12, 99);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(337, 197);
|
|
groupBox1.TabIndex = 10;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Топливо";
|
|
//
|
|
// dataGridView
|
|
//
|
|
dataGridView.AllowUserToResizeColumns = false;
|
|
dataGridView.AllowUserToResizeRows = false;
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView.Columns.AddRange(new DataGridViewColumn[] { ColumnFuel, ColumnQuantity });
|
|
dataGridView.Dock = DockStyle.Fill;
|
|
dataGridView.Location = new Point(3, 19);
|
|
dataGridView.MultiSelect = false;
|
|
dataGridView.Name = "dataGridView";
|
|
dataGridView.RowHeadersVisible = false;
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView.Size = new Size(331, 175);
|
|
dataGridView.TabIndex = 0;
|
|
//
|
|
// ColumnFuel
|
|
//
|
|
ColumnFuel.HeaderText = "Топливо";
|
|
ColumnFuel.Name = "ColumnFuel";
|
|
//
|
|
// ColumnQuantity
|
|
//
|
|
ColumnQuantity.HeaderText = "Количество";
|
|
ColumnQuantity.Name = "ColumnQuantity";
|
|
//
|
|
// FormFuelSale
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(371, 341);
|
|
Controls.Add(groupBox1);
|
|
Controls.Add(label3);
|
|
Controls.Add(label2);
|
|
Controls.Add(label1);
|
|
Controls.Add(buttonCancel);
|
|
Controls.Add(buttonSave);
|
|
Controls.Add(dateTimePickerDate);
|
|
Controls.Add(comboBoxShift);
|
|
Controls.Add(comboBoxSalesperson);
|
|
Name = "FormFuelSale";
|
|
StartPosition = FormStartPosition.CenterParent;
|
|
Text = "Новая продажа";
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ComboBox comboBoxSalesperson;
|
|
private ComboBox comboBoxShift;
|
|
private NumericUpDown numericUpDown1;
|
|
private DateTimePicker dateTimePickerDate;
|
|
private Button buttonSave;
|
|
private Button buttonCancel;
|
|
private Label label1;
|
|
private Label label2;
|
|
private Label label3;
|
|
private GroupBox groupBox1;
|
|
private DataGridView dataGridView;
|
|
private DataGridViewComboBoxColumn ColumnFuel;
|
|
private DataGridViewTextBoxColumn ColumnQuantity;
|
|
}
|
|
} |