diff --git a/ProjectGasStation/ProjectGasStation/Entities/Enums/EmployeePost.cs b/ProjectGasStation/ProjectGasStation/Entities/Enums/EmployeePost.cs index 7cadc12..63ea919 100644 --- a/ProjectGasStation/ProjectGasStation/Entities/Enums/EmployeePost.cs +++ b/ProjectGasStation/ProjectGasStation/Entities/Enums/EmployeePost.cs @@ -8,15 +8,15 @@ namespace ProjectGasStation.Entities.Enums; [Flags] public enum EmployeePost { - None = 0, + None = 0, Cashier = 1, - Fueler = 2, + Fueler = 2, - Manager = 4, + Manager = 4, - Programmer = 8, + Programmer = 8, - Mechanic = 16 + Mechanic = 16 } diff --git a/ProjectGasStation/ProjectGasStation/Forms/FormSale.Designer.cs b/ProjectGasStation/ProjectGasStation/Forms/FormSale.Designer.cs index 8f6e98b..5663350 100644 --- a/ProjectGasStation/ProjectGasStation/Forms/FormSale.Designer.cs +++ b/ProjectGasStation/ProjectGasStation/Forms/FormSale.Designer.cs @@ -32,11 +32,11 @@ dateTimePicker1 = new DateTimePicker(); label1 = new Label(); dataGridView1 = new DataGridView(); + ColumnProduct = new DataGridViewComboBoxColumn(); + ColumnQuantity = new DataGridViewTextBoxColumn(); buttonAdd = new Button(); buttonCancel = new Button(); comboBoxEmployee = new ComboBox(); - ColumnProduct = new DataGridViewComboBoxColumn(); - ColumnQuantity = new DataGridViewTextBoxColumn(); ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); SuspendLayout(); // @@ -75,6 +75,22 @@ dataGridView1.Size = new Size(267, 329); 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.Location = new Point(12, 555); @@ -103,22 +119,6 @@ comboBoxEmployee.Size = new Size(193, 25); 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 // AutoScaleDimensions = new SizeF(7F, 17F);