2024-02-18 00:35:38 +04:00
|
|
|
|
namespace FoodOrdersView
|
|
|
|
|
{
|
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обязательная переменная конструктора.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Освободить все используемые ресурсы.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-08 12:09:09 +04:00
|
|
|
|
#region Код, блюдматически созданный конструктором форм Windows
|
2024-02-18 00:35:38 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-01 00:36:43 +04:00
|
|
|
|
БлюдаToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-05 21:45:07 +04:00
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-20 11:41:37 +04:00
|
|
|
|
почтыToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-01 00:36:43 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокБлюдToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоБлюдамToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-05 21:45:07 +04:00
|
|
|
|
запускРаботToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-20 11:41:37 +04:00
|
|
|
|
создатьБэкапToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-18 00:35:38 +04:00
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
2024-05-20 11:41:37 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчетыToolStripMenuItem, запускРаботToolStripMenuItem, создатьБэкапToolStripMenuItem });
|
2024-02-18 00:35:38 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Padding = new Padding(8, 3, 0, 3);
|
2024-05-05 21:45:07 +04:00
|
|
|
|
menuStrip.Size = new Size(1323, 30);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-05-06 12:46:59 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, БлюдаToolStripMenuItem, клиентыToolStripMenuItem, исполнителиToolStripMenuItem, почтыToolStripMenuItem });
|
2024-02-18 00:35:38 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-05-20 11:41:37 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(185, 26);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-01 00:36:43 +04:00
|
|
|
|
// БлюдаToolStripMenuItem
|
2024-02-18 00:35:38 +04:00
|
|
|
|
//
|
2024-04-01 00:36:43 +04:00
|
|
|
|
БлюдаToolStripMenuItem.Name = "БлюдаToolStripMenuItem";
|
2024-05-20 11:41:37 +04:00
|
|
|
|
БлюдаToolStripMenuItem.Size = new Size(185, 26);
|
2024-04-01 00:36:43 +04:00
|
|
|
|
БлюдаToolStripMenuItem.Text = "Еда";
|
2024-04-08 12:09:09 +04:00
|
|
|
|
БлюдаToolStripMenuItem.Click += БлюдоToolStripMenuItem_Click;
|
2024-04-01 00:36:43 +04:00
|
|
|
|
//
|
2024-05-05 21:45:07 +04:00
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
2024-05-20 11:41:37 +04:00
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(185, 26);
|
2024-05-05 21:45:07 +04:00
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += клиентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
2024-05-20 11:41:37 +04:00
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(185, 26);
|
2024-05-05 21:45:07 +04:00
|
|
|
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-20 11:41:37 +04:00
|
|
|
|
// почтыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
почтыToolStripMenuItem.Name = "почтыToolStripMenuItem";
|
|
|
|
|
почтыToolStripMenuItem.Size = new Size(185, 26);
|
|
|
|
|
почтыToolStripMenuItem.Text = "Почты";
|
|
|
|
|
почтыToolStripMenuItem.Click += почтыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-01 00:36:43 +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(264, 26);
|
|
|
|
|
списокБлюдToolStripMenuItem.Text = "Список блюд";
|
|
|
|
|
списокБлюдToolStripMenuItem.Click += списокБлюдToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоБлюдамToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоБлюдамToolStripMenuItem.Name = "компонентыПоБлюдамToolStripMenuItem";
|
|
|
|
|
компонентыПоБлюдамToolStripMenuItem.Size = new Size(264, 26);
|
|
|
|
|
компонентыПоБлюдамToolStripMenuItem.Text = "Компоненты по блюдам";
|
|
|
|
|
компонентыПоБлюдамToolStripMenuItem.Click += компонентыПоБлюдамToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(264, 26);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += СписокЗаказовToolStripMenuItem_Click;
|
2024-02-18 00:35:38 +04:00
|
|
|
|
//
|
2024-05-05 21:45:07 +04:00
|
|
|
|
// запускРаботToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
|
|
|
|
запускРаботToolStripMenuItem.Size = new Size(114, 24);
|
|
|
|
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
запускРаботToolStripMenuItem.Click += запускРаботToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-20 11:41:37 +04:00
|
|
|
|
// создатьБэкапToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
создатьБэкапToolStripMenuItem.Name = "создатьБэкапToolStripMenuItem";
|
|
|
|
|
создатьБэкапToolStripMenuItem.Size = new Size(122, 24);
|
|
|
|
|
создатьБэкапToolStripMenuItem.Text = "Создать бэкап";
|
|
|
|
|
создатьБэкапToolStripMenuItem.Click += создатьБэкапToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-18 00:35:38 +04:00
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2024-05-05 21:45:07 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(1110, 146);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
buttonIssuedOrder.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(199, 36);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2024-05-05 21:45:07 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(1110, 77);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
buttonCreateOrder.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(199, 36);
|
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 37);
|
|
|
|
|
dataGridView.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
2024-05-05 21:45:07 +04:00
|
|
|
|
dataGridView.Size = new Size(1089, 427);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
|
|
|
|
buttonUpd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2024-05-05 21:45:07 +04:00
|
|
|
|
buttonUpd.Location = new Point(1110, 216);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
buttonUpd.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonUpd.Name = "buttonUpd";
|
|
|
|
|
buttonUpd.Size = new Size(199, 36);
|
|
|
|
|
buttonUpd.TabIndex = 5;
|
|
|
|
|
buttonUpd.Text = "Обновить список";
|
|
|
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpd.Click += ButtonUpd_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-05-05 21:45:07 +04:00
|
|
|
|
ClientSize = new Size(1323, 463);
|
2024-02-18 00:35:38 +04:00
|
|
|
|
Controls.Add(buttonUpd);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Столовая";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
2024-04-01 00:36:43 +04:00
|
|
|
|
private ToolStripMenuItem БлюдаToolStripMenuItem;
|
2024-02-18 00:35:38 +04:00
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonUpd;
|
2024-04-01 00:36:43 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокБлюдToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоБлюдамToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-04-08 12:09:09 +04:00
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
2024-05-05 21:45:07 +04:00
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
2024-05-06 12:46:59 +04:00
|
|
|
|
private ToolStripMenuItem почтыToolStripMenuItem;
|
2024-05-20 11:41:37 +04:00
|
|
|
|
private ToolStripMenuItem создатьБэкапToolStripMenuItem;
|
2024-02-18 00:35:38 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|