This commit is contained in:
Вячеслав Иванов 2024-03-28 22:35:03 +04:00
parent 3bd5643b10
commit 39d88b0b63
2 changed files with 250 additions and 286 deletions

View File

@ -28,303 +28,266 @@
/// </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(); shopsToolStripMenuItem = new ToolStripMenuItem();
this.shopsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); клиентToolStripMenuItem = new ToolStripMenuItem();
this.operationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); запускРаботToolStripMenuItem = new ToolStripMenuItem();
this.transactionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); operationToolStripMenuItem = new ToolStripMenuItem();
this.продажаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); transactionToolStripMenuItem = 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.пиццаСИнгридиентами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.загруженностьToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); информацияToolStripMenuItem = new ToolStripMenuItem();
this.заказыToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); загруженностьToolStripMenuItem = new ToolStripMenuItem();
this.заказыToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); заказыToolStripMenuItem = new ToolStripMenuItem();
this.заказыПоГруппамToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); заказыToolStripMenuItem1 = new ToolStripMenuItem();
this.componentsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); заказыПоГруппамToolStripMenuItem = new ToolStripMenuItem();
this.componentPizzaToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); componentsToolStripMenuItem1 = new ToolStripMenuItem();
this.ordersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); componentPizzaToolStripMenuItem1 = new ToolStripMenuItem();
this.запускРаботToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ordersToolStripMenuItem = 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, operationToolStripMenuItem, отчётыToolStripMenuItem });
this.bookToolStripMenuItem, menuStrip1.Location = new Point(0, 0);
this.запускРаботToolStripMenuItem, menuStrip1.Name = "menuStrip1";
this.operationToolStripMenuItem, menuStrip1.Padding = new Padding(6, 3, 0, 3);
this.отчётыToolStripMenuItem}); menuStrip1.Size = new Size(1550, 30);
this.menuStrip1.Location = new System.Drawing.Point(0, 0); menuStrip1.TabIndex = 0;
this.menuStrip1.Name = "menuStrip1"; menuStrip1.Text = "menuStrip1";
this.menuStrip1.Padding = new System.Windows.Forms.Padding(5, 2, 0, 2);
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, shopsToolStripMenuItem, клиентToolStripMenuItem });
this.ingridientsToolStripMenuItem, bookToolStripMenuItem.Name = "bookToolStripMenuItem";
this.pizzasToolStripMenuItem, bookToolStripMenuItem.Size = new Size(108, 24);
this.исполнителиToolStripMenuItem, bookToolStripMenuItem.Text = "Справочник";
this.shopsToolStripMenuItem,
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
//
this.клиентToolStripMenuItem.Name = "клиентToolStripMenuItem";
this.клиентToolStripMenuItem.Size = new System.Drawing.Size(149, 22);
this.клиентToolStripMenuItem.Text = "Клиент";
this.клиентToolStripMenuItem.Click += new System.EventHandler(this.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;
// //
// shopsToolStripMenuItem // shopsToolStripMenuItem
// //
this.shopsToolStripMenuItem.Name = "shopsToolStripMenuItem"; shopsToolStripMenuItem.Name = "shopsToolStripMenuItem";
this.shopsToolStripMenuItem.Size = new System.Drawing.Size(148, 22); shopsToolStripMenuItem.Size = new Size(186, 26);
this.shopsToolStripMenuItem.Text = "Магазины"; shopsToolStripMenuItem.Text = "Магазины";
this.shopsToolStripMenuItem.Click += new System.EventHandler(this.shopsToolStripMenuItem_Click); shopsToolStripMenuItem.Click += shopsToolStripMenuItem_Click;
// //
// operationToolStripMenuItem // клиентToolStripMenuItem
// //
this.operationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { клиентToolStripMenuItem.Name = "клиентToolStripMenuItem";
this.transactionToolStripMenuItem, клиентToolStripMenuItem.Size = new Size(186, 26);
this.продажаToolStripMenuItem}); клиентToolStripMenuItem.Text = "Клиент";
this.operationToolStripMenuItem.Name = "operationToolStripMenuItem"; клиентToolStripMenuItem.Click += ClientToolStripMenuItem_Click;
this.operationToolStripMenuItem.Size = new System.Drawing.Size(75, 20);
this.operationToolStripMenuItem.Text = "Операции";
//
// transactionToolStripMenuItem
//
this.transactionToolStripMenuItem.Name = "transactionToolStripMenuItem";
this.transactionToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
this.transactionToolStripMenuItem.Text = "Поставка";
this.transactionToolStripMenuItem.Click += new System.EventHandler(this.transactionToolStripMenuItem_Click);
//
// продажаToolStripMenuItem
//
this.продажаToolStripMenuItem.Name = "продажаToolStripMenuItem";
this.продажаToolStripMenuItem.Size = new System.Drawing.Size(125, 22);
this.продажаToolStripMenuItem.Text = "Продажа";
this.продажаToolStripMenuItem.Click += new System.EventHandler(this.SellToolStripMenuItem_Click);
//
// отчётыToolStripMenuItem
//
this.отчётыToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.изделияToolStripMenuItem,
this.магазинToolStripMenuItem,
this.заказыToolStripMenuItem});
this.отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
this.отчётыToolStripMenuItem.Size = new System.Drawing.Size(60, 20);
this.отчётыToolStripMenuItem.Text = "Отчёты";
//
// изделияToolStripMenuItem
//
this.изделияToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.списокИзделийToolStripMenuItem,
this.пиццаСИнгридиентамиToolStripMenuItem});
this.изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
this.изделияToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.изделияToolStripMenuItem.Text = "Пицца";
//
// списокИзделийToolStripMenuItem
//
this.списокИзделийToolStripMenuItem.Name = "списокИзделийToolStripMenuItem";
this.списокИзделийToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
this.списокИзделийToolStripMenuItem.Text = "Список пицц";
this.списокИзделийToolStripMenuItem.Click += new System.EventHandler(this.ComponentsToolStripMenuItem_Click);
//
// пиццаСИнгридиентамиToolStripMenuItem
//
this.пиццаСИнгридиентамиToolStripMenuItem.Name = "пиццаСИнгридиентамиToolStripMenuItem";
this.пиццаСИнгридиентамиToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
this.пиццаСИнгридиентамиToolStripMenuItem.Text = "Пицца с ингридиентами";
this.пиццаСИнгридиентамиToolStripMenuItem.Click += new System.EventHandler(this.ComponentPizzaToolStripMenuItem_Click);
//
// магазинToolStripMenuItem
//
this.магазинToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.информацияToolStripMenuItem,
this.загруженностьToolStripMenuItem});
this.магазинToolStripMenuItem.Name = агазинToolStripMenuItem";
this.магазинToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.магазинToolStripMenuItem.Text = "Магазин";
//
// информацияToolStripMenuItem
//
this.информацияToolStripMenuItem.Name = "информацияToolStripMenuItem";
this.информацияToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.информацияToolStripMenuItem.Text = "Информация";
this.информацияToolStripMenuItem.Click += new System.EventHandler(this.InfoToolStripMenuItem_Click);
//
// загруженностьToolStripMenuItem
//
this.загруженностьToolStripMenuItem.Name = агруженностьToolStripMenuItem";
this.загруженностьToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.загруженностьToolStripMenuItem.Text = "Загруженность";
this.загруженностьToolStripMenuItem.Click += new System.EventHandler(this.BusyShopsToolStripMenuItem_Click);
//
// заказыToolStripMenuItem
//
this.заказыToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.заказыToolStripMenuItem1,
this.заказыПоГруппамToolStripMenuItem});
this.заказыToolStripMenuItem.Name = аказыToolStripMenuItem";
this.заказыToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.заказыToolStripMenuItem.Text = "Заказы";
//
// заказыToolStripMenuItem1
//
this.заказыToolStripMenuItem1.Name = аказыToolStripMenuItem1";
this.заказыToolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
this.заказыToolStripMenuItem1.Text = "Заказы";
this.заказыToolStripMenuItem1.Click += new System.EventHandler(this.OrdersToolStripMenuItem_Click);
//
// заказыПоГруппамToolStripMenuItem
//
this.заказыПоГруппамToolStripMenuItem.Name = аказыПоГруппамToolStripMenuItem";
this.заказыПоГруппамToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.заказыПоГруппамToolStripMenuItem.Text = "Заказы по группам";
this.заказыПоГруппамToolStripMenuItem.Click += new System.EventHandler(this.GroupOrdersToolStripMenuItem_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;
//
// operationToolStripMenuItem
//
operationToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { transactionToolStripMenuItem, продажаToolStripMenuItem });
operationToolStripMenuItem.Name = "operationToolStripMenuItem";
operationToolStripMenuItem.Size = new Size(95, 24);
operationToolStripMenuItem.Text = "Операции";
//
// transactionToolStripMenuItem
//
transactionToolStripMenuItem.Name = "transactionToolStripMenuItem";
transactionToolStripMenuItem.Size = new Size(156, 26);
transactionToolStripMenuItem.Text = "Поставка";
transactionToolStripMenuItem.Click += transactionToolStripMenuItem_Click;
//
// продажаToolStripMenuItem
//
продажаToolStripMenuItem.Name = "продажаToolStripMenuItem";
продажаToolStripMenuItem.Size = new Size(156, 26);
продажаToolStripMenuItem.Text = "Продажа";
продажаToolStripMenuItem.Click += SellToolStripMenuItem_Click;
//
// отчётыToolStripMenuItem
//
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { изделияToolStripMenuItem, магазинToolStripMenuItem, заказыToolStripMenuItem });
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
отчётыToolStripMenuItem.Size = new Size(73, 24);
отчётыToolStripMenuItem.Text = "Отчёты";
//
// изделияToolStripMenuItem
//
изделияToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокИзделийToolStripMenuItem, пиццаСИнгридиентамиToolStripMenuItem });
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
изделияToolStripMenuItem.Size = new Size(152, 26);
изделияToolStripMenuItem.Text = "Пицца";
//
// списокИзделийToolStripMenuItem
//
списокИзделийToolStripMenuItem.Name = "списокИзделийToolStripMenuItem";
списокИзделийToolStripMenuItem.Size = new Size(263, 26);
списокИзделийToolStripMenuItem.Text = "Список пицц";
списокИзделийToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
//
// пиццаСИнгридиентамиToolStripMenuItem
//
пиццаСИнгридиентамиToolStripMenuItem.Name = "пиццаСИнгридиентамиToolStripMenuItem";
пиццаСИнгридиентамиToolStripMenuItem.Size = new Size(263, 26);
пиццаСИнгридиентамиToolStripMenuItem.Text = "Пицца с ингридиентами";
пиццаСИнгридиентамиToolStripMenuItem.Click += ComponentPizzaToolStripMenuItem_Click;
//
// магазинToolStripMenuItem
//
магазинToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { информацияToolStripMenuItem, загруженностьToolStripMenuItem });
магазинToolStripMenuItem.Name = агазинToolStripMenuItem";
магазинToolStripMenuItem.Size = new Size(152, 26);
магазинToolStripMenuItem.Text = "Магазин";
//
// информацияToolStripMenuItem
//
информацияToolStripMenuItem.Name = "информацияToolStripMenuItem";
информацияToolStripMenuItem.Size = new Size(197, 26);
информацияToolStripMenuItem.Text = "Информация";
информацияToolStripMenuItem.Click += InfoToolStripMenuItem_Click;
//
// загруженностьToolStripMenuItem
//
загруженностьToolStripMenuItem.Name = агруженностьToolStripMenuItem";
загруженностьToolStripMenuItem.Size = new Size(197, 26);
загруженностьToolStripMenuItem.Text = "Загруженность";
загруженностьToolStripMenuItem.Click += BusyShopsToolStripMenuItem_Click;
//
// заказыToolStripMenuItem
//
заказыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { заказыToolStripMenuItem1, заказыПоГруппамToolStripMenuItem });
заказыToolStripMenuItem.Name = аказыToolStripMenuItem";
заказыToolStripMenuItem.Size = new Size(152, 26);
заказыToolStripMenuItem.Text = "Заказы";
//
// заказыToolStripMenuItem1
//
заказыToolStripMenuItem1.Name = аказыToolStripMenuItem1";
заказыToolStripMenuItem1.Size = new Size(226, 26);
заказыToolStripMenuItem1.Text = "Заказы";
заказыToolStripMenuItem1.Click += OrdersToolStripMenuItem_Click;
//
// заказыПоГруппамToolStripMenuItem
//
заказыПоГруппамToolStripMenuItem.Name = аказыПоГруппамToolStripMenuItem";
заказыПоГруппамToolStripMenuItem.Size = new Size(226, 26);
заказыПоГруппамToolStripMenuItem.Text = "Заказы по группам";
заказыПоГруппамToolStripMenuItem.Click += GroupOrdersToolStripMenuItem_Click;
//
// componentsToolStripMenuItem1
//
componentsToolStripMenuItem1.Name = "componentsToolStripMenuItem1";
componentsToolStripMenuItem1.Size = new Size(32, 19);
//
// componentPizzaToolStripMenuItem1
//
componentPizzaToolStripMenuItem1.Name = "componentPizzaToolStripMenuItem1";
componentPizzaToolStripMenuItem1.Size = new Size(32, 19);
//
// ordersToolStripMenuItem
//
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
ordersToolStripMenuItem.Size = new Size(32, 19);
// //
// 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, 136);
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(1289, 198);
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
@ -335,8 +298,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

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<root> <root>
<!-- <!--
Microsoft ResX Schema Microsoft ResX Schema
Version 2.0 Version 2.0
The primary goals of this format is to allow a simple XML format The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes various data types are done through the TypeConverter classes
associated with the data types. associated with the data types.
Example: Example:
... ado.net/XML headers & schema ... ... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader> <resheader name="version">2.0</resheader>
@ -26,36 +26,36 @@
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment> <comment>This is a comment</comment>
</data> </data>
There are any number of "resheader" rows that contain simple There are any number of "resheader" rows that contain simple
name/value pairs. name/value pairs.
Each data row contains a name, and value. The row also contains a Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture. text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the Classes that don't support this are serialized and stored with the
mimetype set. mimetype set.
The mimetype is used for serialized objects, and tells the The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly: extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below. read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64 mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64 mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64 mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter : using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding. : and then encoded with base64 encoding.
--> -->
@ -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>