PIbd-22 Alkin_D.V. LabWork_1 #1

Closed
Darl1ngzxc wants to merge 9 commits from LabWork_1 into main
2 changed files with 23 additions and 23 deletions
Showing only changes of commit 932ba70d8a - Show all commits

View File

@ -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
}

View File

@ -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);