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-24 18:34:36 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокКомпонентовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-06 17:20:22 +04:00
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-20 21:27:36 +04:00
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
запускРаботToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-25 19:52:48 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonOrderIssued = new Button();
|
|
|
|
|
buttonRefreshOrders = new Button();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
2024-04-20 21:27:36 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { ToolStripMenuItemRef, отчетыToolStripMenuItem, клиентыToolStripMenuItem, исполнителиToolStripMenuItem, запускРаботToolStripMenuItem });
|
2024-02-25 19:52:48 +04:00
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
2024-04-07 01:27:02 +04:00
|
|
|
|
menuStrip1.Size = new Size(1268, 28);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// ToolStripMenuItemRef
|
|
|
|
|
//
|
|
|
|
|
ToolStripMenuItemRef.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, сушиToolStripMenuItem });
|
|
|
|
|
ToolStripMenuItemRef.Name = "ToolStripMenuItemRef";
|
|
|
|
|
ToolStripMenuItemRef.Size = new Size(117, 24);
|
|
|
|
|
ToolStripMenuItemRef.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(182, 26);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// сушиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
сушиToolStripMenuItem.Name = "сушиToolStripMenuItem";
|
|
|
|
|
сушиToolStripMenuItem.Size = new Size(182, 26);
|
|
|
|
|
сушиToolStripMenuItem.Text = "Суши";
|
|
|
|
|
сушиToolStripMenuItem.Click += сушиToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-24 18:34:36 +04:00
|
|
|
|
// отчетыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокКомпонентовToolStripMenuItem, компонентыПоИзделиямToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
|
|
|
|
отчетыToolStripMenuItem.Size = new Size(73, 24);
|
|
|
|
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// списокКомпонентовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Name = "списокКомпонентовToolStripMenuItem";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Text = "Список компонентов";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Click += списокКомпонентовToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоИзделиямToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Name = "компонентыПоИзделиямToolStripMenuItem";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Text = "Компоненты по изделиям";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Click += компонентыПоИзделиямToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += списокЗаказовToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-06 17:20:22 +04:00
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(83, 24);
|
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += клиентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-20 21:27:36 +04:00
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(116, 24);
|
|
|
|
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// запускРаботToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
|
|
|
|
запускРаботToolStripMenuItem.Size = new Size(114, 24);
|
|
|
|
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
//
|
2024-02-25 19:52:48 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.BackgroundColor = Color.White;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-04-08 11:32:05 +04:00
|
|
|
|
dataGridView.Dock = DockStyle.Left;
|
|
|
|
|
dataGridView.Location = new Point(0, 28);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
2024-04-20 21:27:36 +04:00
|
|
|
|
dataGridView.Size = new Size(1001, 328);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
dataGridView.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-04-20 21:27:36 +04:00
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top;
|
|
|
|
|
buttonCreateOrder.Location = new Point(1054, 65);
|
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;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderIssued
|
|
|
|
|
//
|
2024-04-20 21:27:36 +04:00
|
|
|
|
buttonOrderIssued.Anchor = AnchorStyles.Bottom;
|
|
|
|
|
buttonOrderIssued.Location = new Point(1054, 170);
|
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
|
|
|
|
|
//
|
2024-04-20 21:27:36 +04:00
|
|
|
|
buttonRefreshOrders.Anchor = AnchorStyles.Bottom;
|
|
|
|
|
buttonRefreshOrders.Location = new Point(1054, 274);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
buttonRefreshOrders.Name = "buttonRefreshOrders";
|
|
|
|
|
buttonRefreshOrders.Size = new Size(171, 52);
|
|
|
|
|
buttonRefreshOrders.TabIndex = 6;
|
|
|
|
|
buttonRefreshOrders.Text = "Обновить заказы";
|
|
|
|
|
buttonRefreshOrders.UseVisualStyleBackColor = true;
|
2024-04-08 11:32:05 +04:00
|
|
|
|
buttonRefreshOrders.Click += ButtonRef_Click;
|
2024-02-25 19:52:48 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = Color.FromArgb(210, 255, 210);
|
2024-04-20 21:27:36 +04:00
|
|
|
|
ClientSize = new Size(1268, 356);
|
2024-02-25 19:52:48 +04:00
|
|
|
|
Controls.Add(buttonRefreshOrders);
|
|
|
|
|
Controls.Add(buttonOrderIssued);
|
|
|
|
|
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 buttonOrderIssued;
|
|
|
|
|
private Button buttonRefreshOrders;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem сушиToolStripMenuItem;
|
2024-03-24 18:34:36 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокКомпонентовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоИзделиямToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-04-06 17:20:22 +04:00
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
2024-04-20 21:27:36 +04:00
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
2024-02-25 19:52:48 +04:00
|
|
|
|
}
|
|
|
|
|
}
|