переработано исключение в FormSale
This commit is contained in:
parent
8e006580fb
commit
932ba70d8a
@ -8,15 +8,15 @@ namespace ProjectGasStation.Entities.Enums;
|
|||||||
[Flags]
|
[Flags]
|
||||||
public enum EmployeePost
|
public enum EmployeePost
|
||||||
{
|
{
|
||||||
None = 0,
|
None = 0,
|
||||||
|
|
||||||
Cashier = 1,
|
Cashier = 1,
|
||||||
|
|
||||||
Fueler = 2,
|
Fueler = 2,
|
||||||
|
|
||||||
Manager = 4,
|
Manager = 4,
|
||||||
|
|
||||||
Programmer = 8,
|
Programmer = 8,
|
||||||
|
|
||||||
Mechanic = 16
|
Mechanic = 16
|
||||||
}
|
}
|
||||||
|
@ -32,11 +32,11 @@
|
|||||||
dateTimePicker1 = new DateTimePicker();
|
dateTimePicker1 = new DateTimePicker();
|
||||||
label1 = new Label();
|
label1 = new Label();
|
||||||
dataGridView1 = new DataGridView();
|
dataGridView1 = new DataGridView();
|
||||||
|
ColumnProduct = new DataGridViewComboBoxColumn();
|
||||||
|
ColumnQuantity = new DataGridViewTextBoxColumn();
|
||||||
buttonAdd = new Button();
|
buttonAdd = new Button();
|
||||||
buttonCancel = new Button();
|
buttonCancel = new Button();
|
||||||
comboBoxEmployee = new ComboBox();
|
comboBoxEmployee = new ComboBox();
|
||||||
ColumnProduct = new DataGridViewComboBoxColumn();
|
|
||||||
ColumnQuantity = new DataGridViewTextBoxColumn();
|
|
||||||
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
//
|
//
|
||||||
@ -75,6 +75,22 @@
|
|||||||
dataGridView1.Size = new Size(267, 329);
|
dataGridView1.Size = new Size(267, 329);
|
||||||
dataGridView1.TabIndex = 3;
|
dataGridView1.TabIndex = 3;
|
||||||
//
|
//
|
||||||
|
// ColumnProduct
|
||||||
|
//
|
||||||
|
ColumnProduct.HeaderText = "Товар";
|
||||||
|
ColumnProduct.MinimumWidth = 6;
|
||||||
|
ColumnProduct.Name = "ColumnProduct";
|
||||||
|
ColumnProduct.Resizable = DataGridViewTriState.True;
|
||||||
|
ColumnProduct.SortMode = DataGridViewColumnSortMode.Automatic;
|
||||||
|
ColumnProduct.Width = 110;
|
||||||
|
//
|
||||||
|
// ColumnQuantity
|
||||||
|
//
|
||||||
|
ColumnQuantity.HeaderText = "Количество";
|
||||||
|
ColumnQuantity.MinimumWidth = 6;
|
||||||
|
ColumnQuantity.Name = "ColumnQuantity";
|
||||||
|
ColumnQuantity.Width = 110;
|
||||||
|
//
|
||||||
// buttonAdd
|
// buttonAdd
|
||||||
//
|
//
|
||||||
buttonAdd.Location = new Point(12, 555);
|
buttonAdd.Location = new Point(12, 555);
|
||||||
@ -103,22 +119,6 @@
|
|||||||
comboBoxEmployee.Size = new Size(193, 25);
|
comboBoxEmployee.Size = new Size(193, 25);
|
||||||
comboBoxEmployee.TabIndex = 6;
|
comboBoxEmployee.TabIndex = 6;
|
||||||
//
|
//
|
||||||
// ColumnProduct
|
|
||||||
//
|
|
||||||
ColumnProduct.HeaderText = "Товар";
|
|
||||||
ColumnProduct.MinimumWidth = 6;
|
|
||||||
ColumnProduct.Name = "ColumnProduct";
|
|
||||||
ColumnProduct.Resizable = DataGridViewTriState.True;
|
|
||||||
ColumnProduct.SortMode = DataGridViewColumnSortMode.Automatic;
|
|
||||||
ColumnProduct.Width = 110;
|
|
||||||
//
|
|
||||||
// ColumnQuantity
|
|
||||||
//
|
|
||||||
ColumnQuantity.HeaderText = "Количество";
|
|
||||||
ColumnQuantity.MinimumWidth = 6;
|
|
||||||
ColumnQuantity.Name = "ColumnQuantity";
|
|
||||||
ColumnQuantity.Width = 110;
|
|
||||||
//
|
|
||||||
// FormSale
|
// FormSale
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(7F, 17F);
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user