2024-02-14 00:58:39 +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()
|
|
|
|
|
{
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ButtonCreateOrder = new Button();
|
|
|
|
|
ButtonOrderReady = new Button();
|
|
|
|
|
ButtonRef = new Button();
|
|
|
|
|
ButtonIssuedOrder = new Button();
|
|
|
|
|
ButtonTakeOrderInWork = new Button();
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
toolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
componentsToolStripMenuItemToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
sushiToolStripMenuItemToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
списокСушиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
сушиСИнгрToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
заказыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
заказыПоГруппамToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
магазиныToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
информацияToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
загруженностьToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
операцииToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
поставкаToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
продажаToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonCreateOrder
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ButtonCreateOrder.Location = new Point(676, 37);
|
|
|
|
|
ButtonCreateOrder.Name = "ButtonCreateOrder";
|
|
|
|
|
ButtonCreateOrder.Size = new Size(217, 29);
|
|
|
|
|
ButtonCreateOrder.TabIndex = 0;
|
|
|
|
|
ButtonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
ButtonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonOrderReady
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ButtonOrderReady.Location = new Point(676, 180);
|
|
|
|
|
ButtonOrderReady.Name = "ButtonOrderReady";
|
|
|
|
|
ButtonOrderReady.Size = new Size(217, 29);
|
|
|
|
|
ButtonOrderReady.TabIndex = 1;
|
|
|
|
|
ButtonOrderReady.Text = "Заказ готов";
|
|
|
|
|
ButtonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonOrderReady.Click += ButtonOrderReady_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRef
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ButtonRef.Location = new Point(676, 323);
|
|
|
|
|
ButtonRef.Name = "ButtonRef";
|
|
|
|
|
ButtonRef.Size = new Size(217, 29);
|
|
|
|
|
ButtonRef.TabIndex = 2;
|
|
|
|
|
ButtonRef.Text = "Обновить список";
|
|
|
|
|
ButtonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRef.Click += ButtonRef_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonIssuedOrder
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ButtonIssuedOrder.Location = new Point(676, 256);
|
|
|
|
|
ButtonIssuedOrder.Name = "ButtonIssuedOrder";
|
|
|
|
|
ButtonIssuedOrder.Size = new Size(217, 29);
|
|
|
|
|
ButtonIssuedOrder.TabIndex = 3;
|
|
|
|
|
ButtonIssuedOrder.Text = "Заказ выполнен";
|
|
|
|
|
ButtonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonTakeOrderInWork
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ButtonTakeOrderInWork.Location = new Point(676, 109);
|
|
|
|
|
ButtonTakeOrderInWork.Name = "ButtonTakeOrderInWork";
|
|
|
|
|
ButtonTakeOrderInWork.Size = new Size(217, 29);
|
|
|
|
|
ButtonTakeOrderInWork.TabIndex = 4;
|
|
|
|
|
ButtonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
ButtonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem1, отчётыToolStripMenuItem, операцииToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(922, 24);
|
|
|
|
|
menuStrip.TabIndex = 5;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem1
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
toolStripMenuItem1.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItemToolStripMenuItem, sushiToolStripMenuItemToolStripMenuItem, магазиныToolStripMenuItem });
|
|
|
|
|
toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
|
|
|
toolStripMenuItem1.Size = new Size(94, 20);
|
|
|
|
|
toolStripMenuItem1.Text = "Справочники";
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// componentsToolStripMenuItemToolStripMenuItem
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
componentsToolStripMenuItemToolStripMenuItem.Name = "componentsToolStripMenuItemToolStripMenuItem";
|
|
|
|
|
componentsToolStripMenuItemToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
componentsToolStripMenuItemToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
componentsToolStripMenuItemToolStripMenuItem.Click += componentsToolStripMenuItem_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
|
|
|
|
// sushiToolStripMenuItemToolStripMenuItem
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
sushiToolStripMenuItemToolStripMenuItem.Name = "sushiToolStripMenuItemToolStripMenuItem";
|
|
|
|
|
sushiToolStripMenuItemToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
sushiToolStripMenuItemToolStripMenuItem.Text = "Суши";
|
|
|
|
|
sushiToolStripMenuItemToolStripMenuItem.Click += sushiToolStripMenuItem_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += shopsToolStripMenuItem_Click;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
//
|
2024-03-27 17:48:42 +04:00
|
|
|
|
// отчётыToolStripMenuItem
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem1, ordersToolStripMenuItem, магазиныToolStripMenuItem1 });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
2024-03-27 17:48:42 +04:00
|
|
|
|
//
|
|
|
|
|
// componentsToolStripMenuItem1
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
componentsToolStripMenuItem1.DropDownItems.AddRange(new ToolStripItem[] { списокСушиToolStripMenuItem, сушиСИнгрToolStripMenuItem });
|
|
|
|
|
componentsToolStripMenuItem1.Name = "componentsToolStripMenuItem1";
|
|
|
|
|
componentsToolStripMenuItem1.Size = new Size(180, 22);
|
|
|
|
|
componentsToolStripMenuItem1.Text = "Суши";
|
|
|
|
|
componentsToolStripMenuItem1.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокСушиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокСушиToolStripMenuItem.Name = "списокСушиToolStripMenuItem";
|
|
|
|
|
списокСушиToolStripMenuItem.Size = new Size(201, 22);
|
|
|
|
|
списокСушиToolStripMenuItem.Text = "Список суши";
|
|
|
|
|
списокСушиToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
2024-03-27 17:48:42 +04:00
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
// сушиСИнгрToolStripMenuItem
|
2024-03-27 17:48:42 +04:00
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
сушиСИнгрToolStripMenuItem.Name = "сушиСИнгрToolStripMenuItem";
|
|
|
|
|
сушиСИнгрToolStripMenuItem.Size = new Size(201, 22);
|
|
|
|
|
сушиСИнгрToolStripMenuItem.Text = "Суши с компонентами";
|
|
|
|
|
сушиСИнгрToolStripMenuItem.Click += ComponentSushiToolStripMenuItem_Click;
|
2024-03-27 17:48:42 +04:00
|
|
|
|
//
|
|
|
|
|
// ordersToolStripMenuItem
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
ordersToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { заказыToolStripMenuItem, заказыПоГруппамToolStripMenuItem });
|
|
|
|
|
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
|
|
|
|
|
ordersToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
ordersToolStripMenuItem.Text = "Заказы";
|
|
|
|
|
ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// заказыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
заказыToolStripMenuItem.Name = "заказыToolStripMenuItem";
|
|
|
|
|
заказыToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
заказыToolStripMenuItem.Text = "Заказы";
|
|
|
|
|
заказыToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// заказыПоГруппамToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
заказыПоГруппамToolStripMenuItem.Name = "заказыПоГруппамToolStripMenuItem";
|
|
|
|
|
заказыПоГруппамToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
заказыПоГруппамToolStripMenuItem.Text = "Заказы по группам";
|
|
|
|
|
заказыПоГруппамToolStripMenuItem.Click += GroupOrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// магазиныToolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem1.DropDownItems.AddRange(new ToolStripItem[] { информацияToolStripMenuItem, загруженностьToolStripMenuItem });
|
|
|
|
|
магазиныToolStripMenuItem1.Name = "магазиныToolStripMenuItem1";
|
|
|
|
|
магазиныToolStripMenuItem1.Size = new Size(180, 22);
|
|
|
|
|
магазиныToolStripMenuItem1.Text = "Магазины";
|
|
|
|
|
//
|
|
|
|
|
// информацияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
информацияToolStripMenuItem.Name = "информацияToolStripMenuItem";
|
|
|
|
|
информацияToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
информацияToolStripMenuItem.Text = "Информация ";
|
|
|
|
|
информацияToolStripMenuItem.Click += InfoToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// загруженностьToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
загруженностьToolStripMenuItem.Name = "загруженностьToolStripMenuItem";
|
|
|
|
|
загруженностьToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
загруженностьToolStripMenuItem.Text = "Загруженность";
|
|
|
|
|
загруженностьToolStripMenuItem.Click += BusyShopsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// операцииToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
операцииToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { поставкаToolStripMenuItem, продажаToolStripMenuItem });
|
|
|
|
|
операцииToolStripMenuItem.Name = "операцииToolStripMenuItem";
|
|
|
|
|
операцииToolStripMenuItem.Size = new Size(75, 20);
|
|
|
|
|
операцииToolStripMenuItem.Text = "Операции";
|
|
|
|
|
//
|
|
|
|
|
// поставкаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
поставкаToolStripMenuItem.Name = "поставкаToolStripMenuItem";
|
|
|
|
|
поставкаToolStripMenuItem.Size = new Size(125, 22);
|
|
|
|
|
поставкаToolStripMenuItem.Text = "Поставка";
|
|
|
|
|
поставкаToolStripMenuItem.Click += transactionToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// продажаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
продажаToolStripMenuItem.Name = "продажаToolStripMenuItem";
|
|
|
|
|
продажаToolStripMenuItem.Size = new Size(125, 22);
|
|
|
|
|
продажаToolStripMenuItem.Text = "Продажа";
|
|
|
|
|
продажаToolStripMenuItem.Click += SellToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.BackgroundColor = Color.White;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 27);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.Size = new Size(647, 344);
|
|
|
|
|
dataGridView.TabIndex = 6;
|
2024-03-27 17:48:42 +04:00
|
|
|
|
//
|
2024-02-14 00:58:39 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-04-24 15:07:36 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(922, 383);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(ButtonTakeOrderInWork);
|
|
|
|
|
Controls.Add(ButtonIssuedOrder);
|
|
|
|
|
Controls.Add(ButtonRef);
|
|
|
|
|
Controls.Add(ButtonOrderReady);
|
|
|
|
|
Controls.Add(ButtonCreateOrder);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "FormMain";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-02-14 00:58:39 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private Button ButtonCreateOrder;
|
|
|
|
|
private Button ButtonOrderReady;
|
|
|
|
|
private Button ButtonRef;
|
|
|
|
|
private Button ButtonIssuedOrder;
|
|
|
|
|
private Button ButtonTakeOrderInWork;
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem componentsToolStripMenuItemToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem sushiToolStripMenuItemToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
2024-03-27 17:48:42 +04:00
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsToolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem ordersToolStripMenuItem;
|
2024-04-24 15:07:36 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокСушиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem сушиСИнгрToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem заказыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem заказыПоГруппамToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem информацияToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem загруженностьToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem операцииToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem поставкаToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem продажаToolStripMenuItem;
|
2024-02-14 00:58:39 +04:00
|
|
|
|
}
|
|
|
|
|
}
|