This commit is contained in:
Вячеслав Иванов 2024-03-28 22:31:32 +04:00
parent 3b7e92ce54
commit fde34b2d88
2 changed files with 142 additions and 183 deletions

View File

@ -28,210 +28,168 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); menuStrip1 = new MenuStrip();
this.bookToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); bookToolStripMenuItem = new ToolStripMenuItem();
this.ingridientsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ingridientsToolStripMenuItem = new ToolStripMenuItem();
this.pizzasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); pizzasToolStripMenuItem = new ToolStripMenuItem();
this.клиентToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); клиентToolStripMenuItem = new ToolStripMenuItem();
this.исполнителиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); исполнителиToolStripMenuItem = new ToolStripMenuItem();
this.отчётыToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); отчётыToolStripMenuItem = new ToolStripMenuItem();
this.componentsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); componentsToolStripMenuItem1 = new ToolStripMenuItem();
this.componentPizzaToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); componentPizzaToolStripMenuItem1 = new ToolStripMenuItem();
this.ordersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ordersToolStripMenuItem = new ToolStripMenuItem();
this.запускРаботToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); запускРаботToolStripMenuItem = new ToolStripMenuItem();
this.dataGridView = new System.Windows.Forms.DataGridView(); dataGridView = new DataGridView();
this.buttonCreateOrder = new System.Windows.Forms.Button(); buttonCreateOrder = new Button();
this.buttonTakeOrderInWork = new System.Windows.Forms.Button(); buttonIssuedOrder = new Button();
this.buttonOrderReady = new System.Windows.Forms.Button(); buttonRef = new Button();
this.buttonIssuedOrder = new System.Windows.Forms.Button(); menuStrip1.SuspendLayout();
this.buttonRef = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
this.menuStrip1.SuspendLayout(); SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).BeginInit();
this.SuspendLayout();
// //
// menuStrip1 // menuStrip1
// //
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); menuStrip1.ImageScalingSize = new Size(20, 20);
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { menuStrip1.Items.AddRange(new ToolStripItem[] { bookToolStripMenuItem, отчётыToolStripMenuItem, запускРаботToolStripMenuItem });
this.bookToolStripMenuItem, menuStrip1.Location = new Point(0, 0);
this.отчётыToolStripMenuItem, menuStrip1.Name = "menuStrip1";
this.запускРаботToolStripMenuItem}); menuStrip1.Padding = new Padding(6, 3, 0, 3);
this.menuStrip1.Location = new System.Drawing.Point(0, 0); menuStrip1.Size = new Size(1550, 30);
this.menuStrip1.Name = "menuStrip1"; menuStrip1.TabIndex = 0;
this.menuStrip1.Padding = new System.Windows.Forms.Padding(5, 2, 0, 2); menuStrip1.Text = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(1356, 24);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
// //
// bookToolStripMenuItem // bookToolStripMenuItem
// //
this.bookToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { bookToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ingridientsToolStripMenuItem, pizzasToolStripMenuItem, клиентToolStripMenuItem, исполнителиToolStripMenuItem });
this.ingridientsToolStripMenuItem, bookToolStripMenuItem.Name = "bookToolStripMenuItem";
this.pizzasToolStripMenuItem, bookToolStripMenuItem.Size = new Size(108, 24);
this.клиентToolStripMenuItem, bookToolStripMenuItem.Text = "Справочник";
this.исполнителиToolStripMenuItem});
this.bookToolStripMenuItem.Name = "bookToolStripMenuItem";
this.bookToolStripMenuItem.Size = new System.Drawing.Size(87, 20);
this.bookToolStripMenuItem.Text = "Справочник";
// //
// ingridientsToolStripMenuItem // ingridientsToolStripMenuItem
// //
this.ingridientsToolStripMenuItem.Name = "ingridientsToolStripMenuItem"; ingridientsToolStripMenuItem.Name = "ingridientsToolStripMenuItem";
this.ingridientsToolStripMenuItem.Size = new System.Drawing.Size(149, 22); ingridientsToolStripMenuItem.Size = new Size(186, 26);
this.ingridientsToolStripMenuItem.Text = "Ингредиенты"; ingridientsToolStripMenuItem.Text = "Ингредиенты";
this.ingridientsToolStripMenuItem.Click += new System.EventHandler(this.IngridentsToolStripMenuItem_Click); ingridientsToolStripMenuItem.Click += IngridentsToolStripMenuItem_Click;
// //
// pizzasToolStripMenuItem // pizzasToolStripMenuItem
// //
this.pizzasToolStripMenuItem.Name = "pizzasToolStripMenuItem"; pizzasToolStripMenuItem.Name = "pizzasToolStripMenuItem";
this.pizzasToolStripMenuItem.Size = new System.Drawing.Size(149, 22); pizzasToolStripMenuItem.Size = new Size(186, 26);
this.pizzasToolStripMenuItem.Text = "Пиццы"; pizzasToolStripMenuItem.Text = "Пиццы";
this.pizzasToolStripMenuItem.Click += new System.EventHandler(this.PizzasToolStripMenuItem_Click); pizzasToolStripMenuItem.Click += PizzasToolStripMenuItem_Click;
// //
// клиентToolStripMenuItem // клиентToolStripMenuItem
// //
this.клиентToolStripMenuItem.Name = "клиентToolStripMenuItem"; клиентToolStripMenuItem.Name = "клиентToolStripMenuItem";
this.клиентToolStripMenuItem.Size = new System.Drawing.Size(149, 22); клиентToolStripMenuItem.Size = new Size(186, 26);
this.клиентToolStripMenuItem.Text = "Клиент"; клиентToolStripMenuItem.Text = "Клиент";
this.клиентToolStripMenuItem.Click += new System.EventHandler(this.ClientToolStripMenuItem_Click); клиентToolStripMenuItem.Click += ClientToolStripMenuItem_Click;
// //
// исполнителиToolStripMenuItem // исполнителиToolStripMenuItem
// //
this.исполнителиToolStripMenuItem.Name = сполнителиToolStripMenuItem"; исполнителиToolStripMenuItem.Name = сполнителиToolStripMenuItem";
this.исполнителиToolStripMenuItem.Size = new System.Drawing.Size(149, 22); исполнителиToolStripMenuItem.Size = new Size(186, 26);
this.исполнителиToolStripMenuItem.Text = "Исполнители"; исполнителиToolStripMenuItem.Text = "Исполнители";
this.исполнителиToolStripMenuItem.Click += new System.EventHandler(this.employersToolStripMenuItem_Click); исполнителиToolStripMenuItem.Click += employersToolStripMenuItem_Click;
// //
// отчётыToolStripMenuItem // отчётыToolStripMenuItem
// //
this.отчётыToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem1, componentPizzaToolStripMenuItem1, ordersToolStripMenuItem });
this.componentsToolStripMenuItem1, отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
this.componentPizzaToolStripMenuItem1, отчётыToolStripMenuItem.Size = new Size(73, 24);
this.ordersToolStripMenuItem}); отчётыToolStripMenuItem.Text = "Отчёты";
this.отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
this.отчётыToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
this.отчётыToolStripMenuItem.Text = "Отчёты";
// //
// componentsToolStripMenuItem1 // componentsToolStripMenuItem1
// //
this.componentsToolStripMenuItem1.Name = "componentsToolStripMenuItem1"; componentsToolStripMenuItem1.Name = "componentsToolStripMenuItem1";
this.componentsToolStripMenuItem1.Size = new System.Drawing.Size(205, 22); componentsToolStripMenuItem1.Size = new Size(258, 26);
this.componentsToolStripMenuItem1.Text = "Пиццы"; componentsToolStripMenuItem1.Text = "Пиццы";
this.componentsToolStripMenuItem1.Click += new System.EventHandler(this.ComponentsToolStripMenuItem_Click); componentsToolStripMenuItem1.Click += ComponentsToolStripMenuItem_Click;
// //
// componentPizzaToolStripMenuItem1 // componentPizzaToolStripMenuItem1
// //
this.componentPizzaToolStripMenuItem1.Name = "componentPizzaToolStripMenuItem1"; componentPizzaToolStripMenuItem1.Name = "componentPizzaToolStripMenuItem1";
this.componentPizzaToolStripMenuItem1.Size = new System.Drawing.Size(205, 22); componentPizzaToolStripMenuItem1.Size = new Size(258, 26);
this.componentPizzaToolStripMenuItem1.Text = "Пицца с компонентами"; componentPizzaToolStripMenuItem1.Text = "Пицца с компонентами";
this.componentPizzaToolStripMenuItem1.Click += new System.EventHandler(this.ComponentPizzaToolStripMenuItem_Click); componentPizzaToolStripMenuItem1.Click += ComponentPizzaToolStripMenuItem_Click;
// //
// ordersToolStripMenuItem // ordersToolStripMenuItem
// //
this.ordersToolStripMenuItem.Name = "ordersToolStripMenuItem"; ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
this.ordersToolStripMenuItem.Size = new System.Drawing.Size(205, 22); ordersToolStripMenuItem.Size = new Size(258, 26);
this.ordersToolStripMenuItem.Text = "Заказы"; ordersToolStripMenuItem.Text = "Заказы";
this.ordersToolStripMenuItem.Click += new System.EventHandler(this.OrdersToolStripMenuItem_Click); ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
// //
// запускРаботToolStripMenuItem // запускРаботToolStripMenuItem
// //
this.запускРаботToolStripMenuItem.Name = апускРаботToolStripMenuItem"; запускРаботToolStripMenuItem.Name = апускРаботToolStripMenuItem";
this.запускРаботToolStripMenuItem.Size = new System.Drawing.Size(92, 20); запускРаботToolStripMenuItem.Size = new Size(114, 24);
this.запускРаботToolStripMenuItem.Text = "Запуск работ"; запускРаботToolStripMenuItem.Text = "Запуск работ";
this.запускРаботToolStripMenuItem.Click += new System.EventHandler(this.startWorkToolStripMenuItem_Click); запускРаботToolStripMenuItem.Click += startWorkToolStripMenuItem_Click;
// //
// dataGridView // dataGridView
// //
this.dataGridView.AllowUserToAddRows = false; dataGridView.AllowUserToAddRows = false;
this.dataGridView.AllowUserToDeleteRows = false; dataGridView.AllowUserToDeleteRows = false;
this.dataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView.Location = new System.Drawing.Point(10, 23); dataGridView.Location = new Point(11, 31);
this.dataGridView.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); dataGridView.Name = "dataGridView";
this.dataGridView.Name = "dataGridView"; dataGridView.ReadOnly = true;
this.dataGridView.ReadOnly = true; dataGridView.RowHeadersWidth = 51;
this.dataGridView.RowHeadersWidth = 51; dataGridView.RowTemplate.Height = 29;
this.dataGridView.RowTemplate.Height = 29; dataGridView.Size = new Size(1255, 381);
this.dataGridView.Size = new System.Drawing.Size(1098, 286); dataGridView.TabIndex = 1;
this.dataGridView.TabIndex = 1;
// //
// buttonCreateOrder // buttonCreateOrder
// //
this.buttonCreateOrder.Location = new System.Drawing.Point(1128, 59); buttonCreateOrder.Location = new Point(1289, 79);
this.buttonCreateOrder.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonCreateOrder.Name = "buttonCreateOrder";
this.buttonCreateOrder.Name = "buttonCreateOrder"; buttonCreateOrder.Size = new Size(247, 29);
this.buttonCreateOrder.Size = new System.Drawing.Size(216, 22); buttonCreateOrder.TabIndex = 2;
this.buttonCreateOrder.TabIndex = 2; buttonCreateOrder.Text = "Создать заказ";
this.buttonCreateOrder.Text = "Создать заказ"; buttonCreateOrder.UseVisualStyleBackColor = true;
this.buttonCreateOrder.UseVisualStyleBackColor = true; buttonCreateOrder.Click += ButtonCreateOrder_Click;
this.buttonCreateOrder.Click += new System.EventHandler(this.ButtonCreateOrder_Click);
//
// buttonTakeOrderInWork
//
this.buttonTakeOrderInWork.Location = new System.Drawing.Point(1128, 98);
this.buttonTakeOrderInWork.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
this.buttonTakeOrderInWork.Size = new System.Drawing.Size(216, 22);
this.buttonTakeOrderInWork.TabIndex = 3;
this.buttonTakeOrderInWork.Text = "Отдать на выполнение";
this.buttonTakeOrderInWork.UseVisualStyleBackColor = true;
this.buttonTakeOrderInWork.Click += new System.EventHandler(this.ButtonTakeOrderInWork_Click);
//
// buttonOrderReady
//
this.buttonOrderReady.Location = new System.Drawing.Point(1128, 135);
this.buttonOrderReady.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.buttonOrderReady.Name = "buttonOrderReady";
this.buttonOrderReady.Size = new System.Drawing.Size(216, 22);
this.buttonOrderReady.TabIndex = 4;
this.buttonOrderReady.Text = "Заказ готов";
this.buttonOrderReady.UseVisualStyleBackColor = true;
this.buttonOrderReady.Click += new System.EventHandler(this.ButtonOrderReady_Click);
// //
// buttonIssuedOrder // buttonIssuedOrder
// //
this.buttonIssuedOrder.Location = new System.Drawing.Point(1128, 175); buttonIssuedOrder.Location = new Point(1289, 134);
this.buttonIssuedOrder.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonIssuedOrder.Name = "buttonIssuedOrder";
this.buttonIssuedOrder.Name = "buttonIssuedOrder"; buttonIssuedOrder.Size = new Size(247, 29);
this.buttonIssuedOrder.Size = new System.Drawing.Size(216, 22); buttonIssuedOrder.TabIndex = 5;
this.buttonIssuedOrder.TabIndex = 5; buttonIssuedOrder.Text = "Заказ выдан";
this.buttonIssuedOrder.Text = "Заказ выдан"; buttonIssuedOrder.UseVisualStyleBackColor = true;
this.buttonIssuedOrder.UseVisualStyleBackColor = true; buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
this.buttonIssuedOrder.Click += new System.EventHandler(this.ButtonIssuedOrder_Click);
// //
// buttonRef // buttonRef
// //
this.buttonRef.Location = new System.Drawing.Point(1128, 216); buttonRef.Location = new Point(1291, 201);
this.buttonRef.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); buttonRef.Name = "buttonRef";
this.buttonRef.Name = "buttonRef"; buttonRef.Size = new Size(247, 29);
this.buttonRef.Size = new System.Drawing.Size(216, 22); buttonRef.TabIndex = 6;
this.buttonRef.TabIndex = 6; buttonRef.Text = "Обновить список";
this.buttonRef.Text = "Обновить список"; buttonRef.UseVisualStyleBackColor = true;
this.buttonRef.UseVisualStyleBackColor = true; buttonRef.Click += ButtonRef_Click;
this.buttonRef.Click += new System.EventHandler(this.ButtonRef_Click);
// //
// FormMain // FormMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); AutoScaleDimensions = new SizeF(8F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1356, 319); ClientSize = new Size(1550, 425);
this.Controls.Add(this.buttonRef); Controls.Add(buttonRef);
this.Controls.Add(this.buttonIssuedOrder); Controls.Add(buttonIssuedOrder);
this.Controls.Add(this.buttonOrderReady); Controls.Add(buttonCreateOrder);
this.Controls.Add(this.buttonTakeOrderInWork); Controls.Add(dataGridView);
this.Controls.Add(this.buttonCreateOrder); Controls.Add(menuStrip1);
this.Controls.Add(this.dataGridView); MainMenuStrip = menuStrip1;
this.Controls.Add(this.menuStrip1); Name = "FormMain";
this.MainMenuStrip = this.menuStrip1; Text = "Пиццерия";
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); Load += FormMain_Load;
this.Name = "FormMain"; menuStrip1.ResumeLayout(false);
this.Text = "Пиццерия"; menuStrip1.PerformLayout();
this.Load += new System.EventHandler(this.FormMain_Load); ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
this.menuStrip1.ResumeLayout(false); ResumeLayout(false);
this.menuStrip1.PerformLayout(); PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
} }
#endregion #endregion
@ -242,8 +200,6 @@
private ToolStripMenuItem pizzasToolStripMenuItem; private ToolStripMenuItem pizzasToolStripMenuItem;
private DataGridView dataGridView; private DataGridView dataGridView;
private Button buttonCreateOrder; private Button buttonCreateOrder;
private Button buttonTakeOrderInWork;
private Button buttonOrderReady;
private Button buttonIssuedOrder; private Button buttonIssuedOrder;
private Button buttonRef; private Button buttonRef;
private ToolStripMenuItem отчётыToolStripMenuItem; private ToolStripMenuItem отчётыToolStripMenuItem;

View File

@ -117,4 +117,7 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>