2023-02-03 23:25:31 +04:00
|
|
|
|
namespace ConfectioneryView
|
|
|
|
|
{
|
2023-03-06 16:12:04 +04:00
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
2023-02-03 23:25:31 +04:00
|
|
|
|
|
2023-03-06 16:12:04 +04:00
|
|
|
|
/// <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);
|
|
|
|
|
}
|
2023-02-03 23:25:31 +04:00
|
|
|
|
|
2023-03-06 16:12:04 +04:00
|
|
|
|
#region Windows Form Designer generated code
|
2023-02-03 23:25:31 +04:00
|
|
|
|
|
2023-03-06 16:12:04 +04:00
|
|
|
|
/// <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();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
pastryToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
clientsToolStripMenuItem = new ToolStripMenuItem();
|
2023-03-06 16:45:41 +04:00
|
|
|
|
ImplementersToolStripMenuItem = new ToolStripMenuItem();
|
2023-03-06 16:12:04 +04:00
|
|
|
|
reportsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
pastriesToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
pastryComponentsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
button4 = new Button();
|
2023-03-06 16:45:41 +04:00
|
|
|
|
button3 = new Button();
|
|
|
|
|
DoWorkToolStripMenuItem = new ToolStripMenuItem();
|
2023-03-06 16:12:04 +04:00
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2023-03-06 16:45:41 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, reportsToolStripMenuItem, DoWorkToolStripMenuItem });
|
2023-03-06 16:12:04 +04:00
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Size = new Size(783, 24);
|
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pastryToolStripMenuItem, componentToolStripMenuItem, clientsToolStripMenuItem, ImplementersToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// pastryToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
pastryToolStripMenuItem.Name = "pastryToolStripMenuItem";
|
|
|
|
|
pastryToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
pastryToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
pastryToolStripMenuItem.Click += PastryToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// componentToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
componentToolStripMenuItem.Name = "componentToolStripMenuItem";
|
|
|
|
|
componentToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
componentToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
componentToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// clientsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
clientsToolStripMenuItem.Name = "clientsToolStripMenuItem";
|
|
|
|
|
clientsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
clientsToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
clientsToolStripMenuItem.Click += ClientsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2023-03-06 16:45:41 +04:00
|
|
|
|
// ImplementersToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ImplementersToolStripMenuItem.Name = "ImplementersToolStripMenuItem";
|
|
|
|
|
ImplementersToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
ImplementersToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
ImplementersToolStripMenuItem.Click += ImplementersToolStripMenuItem_Click;
|
|
|
|
|
//
|
2023-03-06 16:12:04 +04:00
|
|
|
|
// reportsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
reportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { pastriesToolStripMenuItem, pastryComponentsToolStripMenuItem, ordersToolStripMenuItem });
|
|
|
|
|
reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
|
|
|
|
|
reportsToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
reportsToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// pastriesToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
pastriesToolStripMenuItem.Name = "pastriesToolStripMenuItem";
|
|
|
|
|
pastriesToolStripMenuItem.Size = new Size(215, 22);
|
|
|
|
|
pastriesToolStripMenuItem.Text = "Список изделий";
|
|
|
|
|
pastriesToolStripMenuItem.Click += PastriesToolStripMenuItem_Click_1;
|
|
|
|
|
//
|
|
|
|
|
// pastryComponentsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
pastryComponentsToolStripMenuItem.Name = "pastryComponentsToolStripMenuItem";
|
|
|
|
|
pastryComponentsToolStripMenuItem.Size = new Size(215, 22);
|
|
|
|
|
pastryComponentsToolStripMenuItem.Text = "Изделия с компонентами";
|
|
|
|
|
pastryComponentsToolStripMenuItem.Click += PastryComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ordersToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
|
|
|
|
|
ordersToolStripMenuItem.Size = new Size(215, 22);
|
|
|
|
|
ordersToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
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;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
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-03-06 16:45:41 +04:00
|
|
|
|
// button4
|
2023-03-06 16:12:04 +04:00
|
|
|
|
//
|
2023-03-06 16:45:41 +04:00
|
|
|
|
button4.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
button4.Location = new Point(624, 157);
|
|
|
|
|
button4.Name = "button4";
|
|
|
|
|
button4.Size = new Size(147, 32);
|
|
|
|
|
button4.TabIndex = 6;
|
|
|
|
|
button4.Text = "Обновить список";
|
|
|
|
|
button4.UseVisualStyleBackColor = true;
|
|
|
|
|
button4.Click += ButtonRef_Click;
|
2023-03-06 16:12:04 +04:00
|
|
|
|
//
|
|
|
|
|
// button3
|
|
|
|
|
//
|
|
|
|
|
button3.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2023-03-06 16:45:41 +04:00
|
|
|
|
button3.Location = new Point(624, 98);
|
2023-03-06 16:12:04 +04:00
|
|
|
|
button3.Name = "button3";
|
|
|
|
|
button3.Size = new Size(147, 32);
|
|
|
|
|
button3.TabIndex = 5;
|
|
|
|
|
button3.Text = "Заказ выдан";
|
|
|
|
|
button3.UseVisualStyleBackColor = true;
|
|
|
|
|
button3.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
2023-03-06 16:45:41 +04:00
|
|
|
|
// DoWorkToolStripMenuItem
|
2023-03-06 16:12:04 +04:00
|
|
|
|
//
|
2023-03-06 16:45:41 +04:00
|
|
|
|
DoWorkToolStripMenuItem.Name = "DoWorkToolStripMenuItem";
|
|
|
|
|
DoWorkToolStripMenuItem.Size = new Size(92, 20);
|
|
|
|
|
DoWorkToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
DoWorkToolStripMenuItem.Click += DoWorkToolStripMenuItem_Click;
|
2023-03-06 16:12:04 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(783, 380);
|
|
|
|
|
Controls.Add(button4);
|
|
|
|
|
Controls.Add(button3);
|
|
|
|
|
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
|
|
|
|
|
2023-03-06 16:12:04 +04:00
|
|
|
|
#endregion
|
2023-02-03 23:25:31 +04:00
|
|
|
|
|
2023-03-06 16:12:04 +04:00
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button button4;
|
|
|
|
|
private ToolStripMenuItem pastryToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem reportsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem pastriesToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem pastryComponentsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ordersToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem clientsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ImplementersToolStripMenuItem;
|
2023-03-06 16:45:41 +04:00
|
|
|
|
private ToolStripMenuItem DoWorkToolStripMenuItem;
|
|
|
|
|
private Button button3;
|
2023-03-06 16:12:04 +04:00
|
|
|
|
}
|
2023-02-03 23:25:31 +04:00
|
|
|
|
}
|