2023-02-03 23:25:31 +04:00
|
|
|
|
namespace ConfectioneryView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
2023-03-01 16:42:58 +04:00
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
pastryToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
reportsToolStripMenuItem = new ToolStripMenuItem();
|
2023-03-01 20:38:56 +04:00
|
|
|
|
pastriesToolStripMenuItem = new ToolStripMenuItem();
|
2023-03-01 16:42:58 +04:00
|
|
|
|
pastryComponentsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
button2 = new Button();
|
|
|
|
|
button3 = new Button();
|
|
|
|
|
button4 = new Button();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, reportsToolStripMenuItem });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Size = new Size(783, 24);
|
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pastryToolStripMenuItem, componentToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// pastryToolStripMenuItem
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
pastryToolStripMenuItem.Name = "pastryToolStripMenuItem";
|
|
|
|
|
pastryToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
pastryToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
pastryToolStripMenuItem.Click += PastryToolStripMenuItem_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// componentToolStripMenuItem
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
componentToolStripMenuItem.Name = "componentToolStripMenuItem";
|
|
|
|
|
componentToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
componentToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
componentToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// reportsToolStripMenuItem
|
|
|
|
|
//
|
2023-03-01 20:38:56 +04:00
|
|
|
|
reportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pastriesToolStripMenuItem, pastryComponentsToolStripMenuItem, ordersToolStripMenuItem });
|
2023-03-01 16:42:58 +04:00
|
|
|
|
reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
|
|
|
|
|
reportsToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
reportsToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
2023-03-01 20:38:56 +04:00
|
|
|
|
// pastriesToolStripMenuItem
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
2023-03-01 20:38:56 +04:00
|
|
|
|
pastriesToolStripMenuItem.Name = "pastriesToolStripMenuItem";
|
|
|
|
|
pastriesToolStripMenuItem.Size = new Size(218, 22);
|
|
|
|
|
pastriesToolStripMenuItem.Text = "Список изделий";
|
|
|
|
|
pastriesToolStripMenuItem.Click += PastriesToolStripMenuItem_Click_1;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
//
|
|
|
|
|
// pastryComponentsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
pastryComponentsToolStripMenuItem.Name = "pastryComponentsToolStripMenuItem";
|
|
|
|
|
pastryComponentsToolStripMenuItem.Size = new Size(218, 22);
|
|
|
|
|
pastryComponentsToolStripMenuItem.Text = "Компоненты по изделиям";
|
|
|
|
|
pastryComponentsToolStripMenuItem.Click += PastryComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ordersToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
|
|
|
|
|
ordersToolStripMenuItem.Size = new Size(218, 22);
|
|
|
|
|
ordersToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 27);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.Size = new Size(606, 341);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonCreateOrder.Location = new Point(624, 39);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(147, 32);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(624, 98);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(147, 32);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// button2
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
button2.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
button2.Location = new Point(624, 157);
|
|
|
|
|
button2.Name = "button2";
|
|
|
|
|
button2.Size = new Size(147, 32);
|
|
|
|
|
button2.TabIndex = 4;
|
|
|
|
|
button2.Text = "Заказ готов";
|
|
|
|
|
button2.UseVisualStyleBackColor = true;
|
|
|
|
|
button2.Click += ButtonOrderReady_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
button3.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
button3.Location = new Point(624, 215);
|
|
|
|
|
button3.Name = "button3";
|
|
|
|
|
button3.Size = new Size(147, 32);
|
|
|
|
|
button3.TabIndex = 5;
|
|
|
|
|
button3.Text = "Заказ выдан";
|
|
|
|
|
button3.UseVisualStyleBackColor = true;
|
|
|
|
|
button3.Click += ButtonIssuedOrder_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// button4
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
button4.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
button4.Location = new Point(624, 274);
|
|
|
|
|
button4.Name = "button4";
|
|
|
|
|
button4.Size = new Size(147, 32);
|
|
|
|
|
button4.TabIndex = 6;
|
|
|
|
|
button4.Text = "Обновить список";
|
|
|
|
|
button4.UseVisualStyleBackColor = true;
|
|
|
|
|
button4.Click += ButtonRef_Click;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2023-03-01 16:42:58 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(783, 380);
|
|
|
|
|
Controls.Add(button4);
|
|
|
|
|
Controls.Add(button3);
|
|
|
|
|
Controls.Add(button2);
|
|
|
|
|
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();
|
2023-02-03 23:25:31 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button button2;
|
|
|
|
|
private Button button3;
|
|
|
|
|
private Button button4;
|
|
|
|
|
private ToolStripMenuItem pastryToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentToolStripMenuItem;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
private ToolStripMenuItem reportsToolStripMenuItem;
|
2023-03-01 20:38:56 +04:00
|
|
|
|
private ToolStripMenuItem pastriesToolStripMenuItem;
|
2023-03-01 16:42:58 +04:00
|
|
|
|
private ToolStripMenuItem pastryComponentsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ordersToolStripMenuItem;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
}
|
|
|
|
|
}
|