2024-02-01 10:43:41 +04:00
|
|
|
|
namespace PizzeriaView
|
|
|
|
|
{
|
|
|
|
|
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-03-28 22:31:32 +04:00
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
bookToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ingridientsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
pizzasToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
клиентToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
componentPizzaToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
ordersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
запускРаботToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { bookToolStripMenuItem, отчётыToolStripMenuItem, запускРаботToolStripMenuItem });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Padding = new Padding(6, 3, 0, 3);
|
|
|
|
|
menuStrip1.Size = new Size(1550, 30);
|
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// bookToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
bookToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ingridientsToolStripMenuItem, pizzasToolStripMenuItem, клиентToolStripMenuItem, исполнителиToolStripMenuItem });
|
|
|
|
|
bookToolStripMenuItem.Name = "bookToolStripMenuItem";
|
|
|
|
|
bookToolStripMenuItem.Size = new Size(108, 24);
|
|
|
|
|
bookToolStripMenuItem.Text = "Справочник";
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// ingridientsToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
ingridientsToolStripMenuItem.Name = "ingridientsToolStripMenuItem";
|
|
|
|
|
ingridientsToolStripMenuItem.Size = new Size(186, 26);
|
|
|
|
|
ingridientsToolStripMenuItem.Text = "Ингредиенты";
|
|
|
|
|
ingridientsToolStripMenuItem.Click += IngridentsToolStripMenuItem_Click;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// pizzasToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
pizzasToolStripMenuItem.Name = "pizzasToolStripMenuItem";
|
|
|
|
|
pizzasToolStripMenuItem.Size = new Size(186, 26);
|
|
|
|
|
pizzasToolStripMenuItem.Text = "Пиццы";
|
|
|
|
|
pizzasToolStripMenuItem.Click += PizzasToolStripMenuItem_Click;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
2024-03-28 21:32:49 +04:00
|
|
|
|
// клиентToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
клиентToolStripMenuItem.Name = "клиентToolStripMenuItem";
|
|
|
|
|
клиентToolStripMenuItem.Size = new Size(186, 26);
|
|
|
|
|
клиентToolStripMenuItem.Text = "Клиент";
|
|
|
|
|
клиентToolStripMenuItem.Click += ClientToolStripMenuItem_Click;
|
2024-03-28 21:32:49 +04:00
|
|
|
|
//
|
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(186, 26);
|
|
|
|
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
исполнителиToolStripMenuItem.Click += employersToolStripMenuItem_Click;
|
2024-03-28 21:32:49 +04:00
|
|
|
|
//
|
2024-03-15 00:47:16 +04:00
|
|
|
|
// отчётыToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem1, componentPizzaToolStripMenuItem1, ordersToolStripMenuItem });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(73, 24);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
2024-03-15 00:47:16 +04:00
|
|
|
|
//
|
|
|
|
|
// componentsToolStripMenuItem1
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
componentsToolStripMenuItem1.Name = "componentsToolStripMenuItem1";
|
|
|
|
|
componentsToolStripMenuItem1.Size = new Size(258, 26);
|
|
|
|
|
componentsToolStripMenuItem1.Text = "Пиццы";
|
|
|
|
|
componentsToolStripMenuItem1.Click += ComponentsToolStripMenuItem_Click;
|
2024-03-15 00:47:16 +04:00
|
|
|
|
//
|
|
|
|
|
// componentPizzaToolStripMenuItem1
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
componentPizzaToolStripMenuItem1.Name = "componentPizzaToolStripMenuItem1";
|
|
|
|
|
componentPizzaToolStripMenuItem1.Size = new Size(258, 26);
|
|
|
|
|
componentPizzaToolStripMenuItem1.Text = "Пицца с компонентами";
|
|
|
|
|
componentPizzaToolStripMenuItem1.Click += ComponentPizzaToolStripMenuItem_Click;
|
2024-03-15 00:47:16 +04:00
|
|
|
|
//
|
|
|
|
|
// ordersToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
|
|
|
|
|
ordersToolStripMenuItem.Size = new Size(258, 26);
|
|
|
|
|
ordersToolStripMenuItem.Text = "Заказы";
|
|
|
|
|
ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
2024-03-15 00:47:16 +04:00
|
|
|
|
//
|
2024-03-28 21:32:49 +04:00
|
|
|
|
// запускРаботToolStripMenuItem
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
|
|
|
|
запускРаботToolStripMenuItem.Size = new Size(114, 24);
|
|
|
|
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
запускРаботToolStripMenuItem.Click += startWorkToolStripMenuItem_Click;
|
2024-03-28 21:32:49 +04:00
|
|
|
|
//
|
2024-02-01 10:43:41 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(11, 31);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(1255, 381);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(1289, 79);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(247, 29);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(1289, 134);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(247, 29);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
buttonRef.Location = new Point(1291, 201);
|
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(247, 29);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += ButtonRef_Click;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-03-28 22:31:32 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1550, 425);
|
|
|
|
|
Controls.Add(buttonRef);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
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();
|
2024-02-01 10:43:41 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem bookToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ingridientsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem pizzasToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
2024-03-15 00:47:16 +04:00
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsToolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem componentPizzaToolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem ordersToolStripMenuItem;
|
2024-03-21 13:21:25 +04:00
|
|
|
|
private ToolStripMenuItem клиентToolStripMenuItem;
|
2024-03-28 21:32:49 +04:00
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
2024-02-01 10:43:41 +04:00
|
|
|
|
}
|
|
|
|
|
}
|