2024-02-16 10:22:34 +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()
|
|
|
|
|
{
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
toolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
pastryToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-12 01:04:02 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsListToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentPastryToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersListToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-16 10:22:34 +04:00
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-02-28 21:24:29 +04:00
|
|
|
|
dataGridView.BackgroundColor = Color.AliceBlue;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 60);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 62;
|
|
|
|
|
dataGridView.RowTemplate.Height = 33;
|
2024-02-28 21:32:07 +04:00
|
|
|
|
dataGridView.Size = new Size(1068, 549);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(24, 24);
|
2024-04-12 01:04:02 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, отчетыToolStripMenuItem });
|
2024-02-16 10:22:34 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
2024-02-28 21:32:07 +04:00
|
|
|
|
menuStrip.Size = new Size(1375, 33);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
menuStrip.TabIndex = 1;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem, pastryToolStripMenuItem });
|
|
|
|
|
toolStripMenuItem.Name = "toolStripMenuItem";
|
|
|
|
|
toolStripMenuItem.Size = new Size(139, 29);
|
|
|
|
|
toolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// componentsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
|
|
|
|
|
componentsToolStripMenuItem.Size = new Size(298, 34);
|
|
|
|
|
componentsToolStripMenuItem.Text = "Компоненты";
|
2024-02-28 21:24:29 +04:00
|
|
|
|
componentsToolStripMenuItem.Click += componentsToolStripMenuItem_Click;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
//
|
|
|
|
|
// pastryToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
pastryToolStripMenuItem.Name = "pastryToolStripMenuItem";
|
|
|
|
|
pastryToolStripMenuItem.Size = new Size(298, 34);
|
|
|
|
|
pastryToolStripMenuItem.Text = "Кондитерские изделия";
|
2024-02-28 21:24:29 +04:00
|
|
|
|
pastryToolStripMenuItem.Click += pastryToolStripMenuItem_Click;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
//
|
2024-04-12 01:04:02 +04:00
|
|
|
|
// отчетыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsListToolStripMenuItem, componentPastryToolStripMenuItem, ordersListToolStripMenuItem });
|
|
|
|
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
|
|
|
|
отчетыToolStripMenuItem.Size = new Size(88, 29);
|
|
|
|
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// componentsListToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
componentsListToolStripMenuItem.Name = "componentsListToolStripMenuItem";
|
|
|
|
|
componentsListToolStripMenuItem.Size = new Size(327, 34);
|
|
|
|
|
componentsListToolStripMenuItem.Text = "Список компонентов";
|
|
|
|
|
//
|
|
|
|
|
// componentPastryToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
componentPastryToolStripMenuItem.Name = "componentPastryToolStripMenuItem";
|
|
|
|
|
componentPastryToolStripMenuItem.Size = new Size(327, 34);
|
|
|
|
|
componentPastryToolStripMenuItem.Text = "Компоненты по изделиям";
|
|
|
|
|
componentPastryToolStripMenuItem.Click += componentPastryToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ordersListToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ordersListToolStripMenuItem.Name = "ordersListToolStripMenuItem";
|
|
|
|
|
ordersListToolStripMenuItem.Size = new Size(327, 34);
|
|
|
|
|
ordersListToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
ordersListToolStripMenuItem.Click += ordersListToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-16 10:22:34 +04:00
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-02-28 21:32:07 +04:00
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonCreateOrder.Location = new Point(1111, 83);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(232, 34);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += buttonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2024-02-28 21:32:07 +04:00
|
|
|
|
buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1111, 143);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(232, 34);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += buttonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
2024-02-28 21:32:07 +04:00
|
|
|
|
buttonOrderReady.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonOrderReady.Location = new Point(1111, 203);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(232, 34);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += buttonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-02-28 21:32:07 +04:00
|
|
|
|
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonIssuedOrder.Location = new Point(1111, 266);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(232, 34);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += buttonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
2024-02-28 21:32:07 +04:00
|
|
|
|
buttonRef.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonRef.Location = new Point(1111, 329);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(232, 34);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += buttonRef_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-02-28 21:32:07 +04:00
|
|
|
|
ClientSize = new Size(1375, 621);
|
2024-02-16 10:22:34 +04:00
|
|
|
|
Controls.Add(buttonRef);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Name = "FormMain";
|
2024-02-28 21:24:29 +04:00
|
|
|
|
Text = "Кондитерская";
|
|
|
|
|
Load += FormMain_Load;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItem;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
|
|
|
|
private ToolStripMenuItem componentsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem pastryToolStripMenuItem;
|
2024-04-12 01:04:02 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsListToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentPastryToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ordersListToolStripMenuItem;
|
2024-02-16 10:22:34 +04:00
|
|
|
|
}
|
|
|
|
|
}
|