Финал

This commit is contained in:
GokaPek 2024-05-05 17:17:51 +04:00
parent aec58cbc4a
commit e5edcee557
2 changed files with 59 additions and 45 deletions

View File

@ -32,13 +32,14 @@
toolStripMenuItemCatalogs = new ToolStripMenuItem();
компонентыToolStripMenuItem = new ToolStripMenuItem();
пакетыДокументовToolStripMenuItem = new ToolStripMenuItem();
магазиныToolStripMenuItem = new ToolStripMenuItem();
dataGridView = new DataGridView();
buttonCreateOrder = new Button();
buttonTakeOrderInWork = new Button();
buttonOrderReady = new Button();
buttonIssuedOrder = new Button();
buttonRef = new Button();
магазиныToolStripMenuItem = new ToolStripMenuItem();
buttonSupplyShop = new Button();
menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
SuspendLayout();
@ -75,6 +76,13 @@
пакетыДокументовToolStripMenuItem.Text = "Пакеты документов";
пакетыДокументовToolStripMenuItem.Click += пакетыДокументовToolStripMenuItem_Click;
//
// магазиныToolStripMenuItem
//
магазиныToolStripMenuItem.Name = агазиныToolStripMenuItem";
магазиныToolStripMenuItem.Size = new Size(229, 26);
магазиныToolStripMenuItem.Text = "Магазины";
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
//
// dataGridView
//
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
@ -141,18 +149,23 @@
buttonRef.UseVisualStyleBackColor = true;
buttonRef.Click += buttonRef_Click;
//
// магазиныToolStripMenuItem
// buttonSupplyShop
//
магазиныToolStripMenuItem.Name = агазиныToolStripMenuItem";
магазиныToolStripMenuItem.Size = new Size(229, 26);
магазиныToolStripMenuItem.Text = "Магазины";
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
buttonSupplyShop.Location = new Point(847, 250);
buttonSupplyShop.Margin = new Padding(3, 4, 3, 4);
buttonSupplyShop.Name = "buttonSupplyShop";
buttonSupplyShop.Size = new Size(178, 31);
buttonSupplyShop.TabIndex = 7;
buttonSupplyShop.Text = "Пополнение магазина";
buttonSupplyShop.UseVisualStyleBackColor = true;
buttonSupplyShop.Click += buttonSupplyShop_Click;
//
// FormMain
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1040, 636);
Controls.Add(buttonSupplyShop);
Controls.Add(buttonRef);
Controls.Add(buttonIssuedOrder);
Controls.Add(buttonOrderReady);
@ -185,5 +198,6 @@
private Button buttonIssuedOrder;
private Button buttonRef;
private ToolStripMenuItem магазиныToolStripMenuItem;
private Button buttonSupplyShop;
}
}

View File

@ -31,15 +31,15 @@
textBoxName = new TextBox();
textBoxAddress = new TextBox();
dateTimePicker = new DateTimePicker();
dataGridView = new DataGridView();
Column1 = new DataGridViewTextBoxColumn();
Column2 = new DataGridViewTextBoxColumn();
Column3 = new DataGridViewTextBoxColumn();
buttonSave = new Button();
buttonCancel = new Button();
label1 = new Label();
label2 = new Label();
label3 = new Label();
Column3 = new DataGridViewTextBoxColumn();
Column2 = new DataGridViewTextBoxColumn();
Column1 = new DataGridViewTextBoxColumn();
dataGridView = new DataGridView();
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
SuspendLayout();
//
@ -67,38 +67,6 @@
dateTimePicker.Size = new Size(228, 27);
dateTimePicker.TabIndex = 2;
//
// dataGridView
//
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Column1, Column2, Column3 });
dataGridView.Location = new Point(14, 132);
dataGridView.Margin = new Padding(3, 4, 3, 4);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 25;
dataGridView.Size = new Size(613, 327);
dataGridView.TabIndex = 3;
//
// Column1
//
Column1.HeaderText = "id";
Column1.MinimumWidth = 6;
Column1.Name = "Column1";
Column1.Visible = false;
//
// Column2
//
Column2.HeaderText = "Название пакета документов";
Column2.MinimumWidth = 6;
Column2.Name = "Column2";
//
// Column3
//
Column3.HeaderText = "Количество";
Column3.MinimumWidth = 6;
Column3.Name = "Column3";
//
// buttonSave
//
buttonSave.Location = new Point(397, 495);
@ -148,6 +116,38 @@
label3.TabIndex = 8;
label3.Text = "Дата открытия:";
//
// Column3
//
Column3.HeaderText = "Количество";
Column3.MinimumWidth = 6;
Column3.Name = "Column3";
//
// Column2
//
Column2.HeaderText = "Название пакета документов";
Column2.MinimumWidth = 6;
Column2.Name = "Column2";
//
// Column1
//
Column1.HeaderText = "id";
Column1.MinimumWidth = 6;
Column1.Name = "Column1";
Column1.Visible = false;
//
// dataGridView
//
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView.Columns.AddRange(new DataGridViewColumn[] { Column1, Column2, Column3 });
dataGridView.Location = new Point(14, 132);
dataGridView.Margin = new Padding(3, 4, 3, 4);
dataGridView.Name = "dataGridView";
dataGridView.RowHeadersWidth = 51;
dataGridView.RowTemplate.Height = 25;
dataGridView.Size = new Size(613, 327);
dataGridView.TabIndex = 3;
//
// FormShop
//
AutoScaleDimensions = new SizeF(8F, 20F);
@ -176,14 +176,14 @@
private TextBox textBoxName;
private TextBox textBoxAddress;
private DateTimePicker dateTimePicker;
private DataGridView dataGridView;
private Button buttonSave;
private Button buttonCancel;
private Label label1;
private Label label2;
private Label label3;
private DataGridViewTextBoxColumn Column1;
private DataGridViewTextBoxColumn Column2;
private DataGridViewTextBoxColumn Column3;
private DataGridViewTextBoxColumn Column2;
private DataGridViewTextBoxColumn Column1;
private DataGridView dataGridView;
}
}