2024-02-25 19:52:48 +04:00
|
|
|
|
namespace SushiBarView
|
|
|
|
|
{
|
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Clean up any resources being used.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
ToolStripMenuItemRef = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
сушиToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-11 12:09:55 +04:00
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-25 19:52:48 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonOrderIssued = new Button();
|
|
|
|
|
buttonRefreshOrders = new Button();
|
2024-03-11 12:09:55 +04:00
|
|
|
|
buttonAddSushiInShop = new Button();
|
2024-02-25 19:52:48 +04:00
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { ToolStripMenuItemRef });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Size = new Size(1140, 28);
|
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// ToolStripMenuItemRef
|
|
|
|
|
//
|
2024-03-10 23:53:01 +04:00
|
|
|
|
ToolStripMenuItemRef.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, сушиToolStripMenuItem, магазиныToolStripMenuItem });
|
2024-02-25 19:52:48 +04:00
|
|
|
|
ToolStripMenuItemRef.Name = "ToolStripMenuItemRef";
|
|
|
|
|
ToolStripMenuItemRef.Size = new Size(117, 24);
|
|
|
|
|
ToolStripMenuItemRef.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-03-11 12:09:55 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(182, 26);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// сушиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
сушиToolStripMenuItem.Name = "сушиToolStripMenuItem";
|
2024-03-11 12:09:55 +04:00
|
|
|
|
сушиToolStripMenuItem.Size = new Size(182, 26);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
сушиToolStripMenuItem.Text = "Суши";
|
|
|
|
|
сушиToolStripMenuItem.Click += сушиToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(182, 26);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-25 19:52:48 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.BackgroundColor = Color.White;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 27);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(849, 512);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(923, 43);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(171, 52);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += buttonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
buttonTakeOrderInWork.Location = new Point(923, 118);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(171, 52);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += buttonTakeOrderInWork_Click_1;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
buttonOrderReady.Location = new Point(923, 191);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(171, 52);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += buttonOrderReady_Click_1;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderIssued
|
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
buttonOrderIssued.Location = new Point(923, 264);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonOrderIssued.Name = "buttonOrderIssued";
|
|
|
|
|
buttonOrderIssued.Size = new Size(171, 52);
|
|
|
|
|
buttonOrderIssued.TabIndex = 5;
|
|
|
|
|
buttonOrderIssued.Text = "Заказ выдан";
|
|
|
|
|
buttonOrderIssued.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderIssued.Click += buttonOrderIssued_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefreshOrders
|
|
|
|
|
//
|
|
|
|
|
buttonRefreshOrders.Location = new Point(923, 450);
|
|
|
|
|
buttonRefreshOrders.Name = "buttonRefreshOrders";
|
|
|
|
|
buttonRefreshOrders.Size = new Size(171, 52);
|
|
|
|
|
buttonRefreshOrders.TabIndex = 6;
|
|
|
|
|
buttonRefreshOrders.Text = "Обновить заказы";
|
|
|
|
|
buttonRefreshOrders.UseVisualStyleBackColor = true;
|
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
// buttonAddSushiInShop
|
2024-03-10 23:53:01 +04:00
|
|
|
|
//
|
2024-03-11 12:09:55 +04:00
|
|
|
|
buttonAddSushiInShop.Location = new Point(923, 359);
|
|
|
|
|
buttonAddSushiInShop.Name = "buttonAddSushiInShop";
|
|
|
|
|
buttonAddSushiInShop.Size = new Size(171, 52);
|
|
|
|
|
buttonAddSushiInShop.TabIndex = 7;
|
|
|
|
|
buttonAddSushiInShop.Text = "Пополнить магазин";
|
|
|
|
|
buttonAddSushiInShop.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddSushiInShop.Click += buttonAddSushiInShop_Click;
|
2024-03-10 23:53:01 +04:00
|
|
|
|
//
|
2024-02-25 19:52:48 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.FromArgb(210, 255, 210);
|
|
|
|
|
ClientSize = new Size(1140, 540);
|
2024-03-11 12:09:55 +04:00
|
|
|
|
Controls.Add(buttonAddSushiInShop);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
Controls.Add(buttonRefreshOrders);
|
|
|
|
|
Controls.Add(buttonOrderIssued);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Суши Бар";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem ToolStripMenuItemRef;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonOrderIssued;
|
|
|
|
|
private Button buttonRefreshOrders;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem сушиToolStripMenuItem;
|
2024-03-10 23:53:01 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
2024-03-11 12:09:55 +04:00
|
|
|
|
private Button buttonAddSushiInShop;
|
2024-02-25 19:52:48 +04:00
|
|
|
|
}
|
|
|
|
|
}
|