2024-03-23 19:50:45 +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()
|
|
|
|
|
{
|
2024-04-28 00:20:34 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
КомпонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
КондитерскиеИзделияToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-02 17:46:55 +04:00
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-28 00:20:34 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокКондитерскихИзделийToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоКондитерскимИзделиямToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
2024-05-25 18:24:00 +04:00
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-05-02 17:46:55 +04:00
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
2024-05-25 18:24:00 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчетыToolStripMenuItem });
|
2024-04-28 00:20:34 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
menuStrip.Padding = new Padding(7, 3, 0, 3);
|
2024-05-25 18:24:00 +04:00
|
|
|
|
menuStrip.Size = new Size(1344, 30);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-05-25 18:24:00 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { КомпонентыToolStripMenuItem, КондитерскиеИзделияToolStripMenuItem, клиентыToolStripMenuItem });
|
2024-04-28 00:20:34 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// КомпонентыToolStripMenuItem
|
|
|
|
|
//
|
2024-04-28 00:20:34 +04:00
|
|
|
|
КомпонентыToolStripMenuItem.Name = "КомпонентыToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
КомпонентыToolStripMenuItem.Size = new Size(251, 26);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
КомпонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
КомпонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// КондитерскиеИзделияToolStripMenuItem
|
|
|
|
|
//
|
2024-04-28 00:20:34 +04:00
|
|
|
|
КондитерскиеИзделияToolStripMenuItem.Name = "КондитерскиеИзделияToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
КондитерскиеИзделияToolStripMenuItem.Size = new Size(251, 26);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
КондитерскиеИзделияToolStripMenuItem.Text = "Кондитерские изделия";
|
|
|
|
|
КондитерскиеИзделияToolStripMenuItem.Click += КондитерскиеИзделияToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-02 17:46:55 +04:00
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(251, 26);
|
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-28 00:20:34 +04:00
|
|
|
|
// отчетыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокКондитерскихИзделийToolStripMenuItem, компонентыПоКондитерскимИзделиямToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
отчетыToolStripMenuItem.Size = new Size(73, 24);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// списокКондитерскихИзделийToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокКондитерскихИзделийToolStripMenuItem.Name = "списокКондитерскихИзделийToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
списокКондитерскихИзделийToolStripMenuItem.Size = new Size(379, 26);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
списокКондитерскихИзделийToolStripMenuItem.Text = "Список кондитерксих изделий";
|
|
|
|
|
списокКондитерскихИзделийToolStripMenuItem.Click += СписокИзделийToolStripMenuItem_Click_1;
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоКондитерскимИзделиямToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоКондитерскимИзделиямToolStripMenuItem.Name = "компонентыПоКондитерскимИзделиямToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
компонентыПоКондитерскимИзделиямToolStripMenuItem.Size = new Size(379, 26);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
компонентыПоКондитерскимИзделиямToolStripMenuItem.Text = "Компоненты по кондитерским изделиям";
|
|
|
|
|
компонентыПоКондитерскимИзделиямToolStripMenuItem.Click += ИзделияПоКомпонентамToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(379, 26);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += СписокЗаказовToolStripMenuItem_Click;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-04-28 00:20:34 +04:00
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-05-02 17:46:55 +04:00
|
|
|
|
dataGridView.Location = new Point(0, 36);
|
|
|
|
|
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
2024-05-25 18:24:00 +04:00
|
|
|
|
dataGridView.Size = new Size(1061, 408);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
dataGridView.TabIndex = 1;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-05-25 18:24:00 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(1085, 70);
|
2024-05-02 17:46:55 +04:00
|
|
|
|
buttonCreateOrder.Margin = new Padding(3, 4, 3, 4);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
buttonCreateOrder.Size = new Size(208, 36);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += buttonCreateOrder_Click;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
2024-05-25 18:24:00 +04:00
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1085, 142);
|
|
|
|
|
buttonTakeOrderInWork.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(210, 35);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += buttonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Location = new Point(1085, 218);
|
|
|
|
|
buttonOrderReady.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(208, 37);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += buttonOrderReady_Click;
|
|
|
|
|
//
|
2024-03-23 19:50:45 +04:00
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-05-25 18:24:00 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(1085, 292);
|
2024-05-02 17:46:55 +04:00
|
|
|
|
buttonIssuedOrder.Margin = new Padding(3, 4, 3, 4);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
buttonIssuedOrder.Size = new Size(208, 36);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += buttonIssuedOrder_Click;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
2024-05-25 18:24:00 +04:00
|
|
|
|
buttonUpd.Location = new Point(1087, 366);
|
2024-05-02 17:46:55 +04:00
|
|
|
|
buttonUpd.Margin = new Padding(3, 4, 3, 4);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonUpd.Name = "buttonUpd";
|
2024-05-02 17:46:55 +04:00
|
|
|
|
buttonUpd.Size = new Size(208, 39);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
buttonUpd.TabIndex = 6;
|
|
|
|
|
buttonUpd.Text = "Обновить список";
|
|
|
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpd.Click += buttonUpd_Click;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-05-02 17:46:55 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-05-25 18:24:00 +04:00
|
|
|
|
ClientSize = new Size(1344, 443);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
Controls.Add(buttonUpd);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
2024-05-25 18:24:00 +04:00
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
2024-05-02 17:46:55 +04:00
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
2024-04-28 00:20:34 +04:00
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Кондитерская";
|
2024-04-03 18:35:23 +04:00
|
|
|
|
Load += FormMain_Load;
|
2024-04-28 00:20:34 +04:00
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-03-23 19:50:45 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem КомпонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem КондитерскиеИзделияToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
2024-05-25 18:24:00 +04:00
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonUpd;
|
2024-04-28 00:20:34 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокКондитерскихИзделийToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоКондитерскимИзделиямToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-05-02 17:46:55 +04:00
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
2024-03-23 19:50:45 +04:00
|
|
|
|
}
|
|
|
|
|
}
|