2024-02-10 13:06:58 +04:00
|
|
|
|
namespace IceCreamShopView
|
|
|
|
|
{
|
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обязательная переменная конструктора.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Освободить все используемые ресурсы.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region Код, автоматически созданный конструктором форм Windows
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
мороженоеToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-25 16:17:40 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокМороженогоToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоМороженымToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-10 13:06:58 +04:00
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-03-25 16:17:40 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчетыToolStripMenuItem });
|
2024-02-10 13:06:58 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Padding = new Padding(7, 2, 0, 2);
|
|
|
|
|
menuStrip.Size = new Size(1031, 24);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, мороженоеToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-03-25 16:17:40 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(145, 22);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// мороженоеToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
мороженоеToolStripMenuItem.Name = "мороженоеToolStripMenuItem";
|
2024-03-25 16:17:40 +04:00
|
|
|
|
мороженоеToolStripMenuItem.Size = new Size(145, 22);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
мороженоеToolStripMenuItem.Text = "Мороженое";
|
|
|
|
|
мороженоеToolStripMenuItem.Click += МороженоеToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-25 16:17:40 +04:00
|
|
|
|
// отчетыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокМороженогоToolStripMenuItem, компонентыПоМороженымToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
|
|
|
|
отчетыToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// списокМороженогоToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокМороженогоToolStripMenuItem.Name = "списокМороженогоToolStripMenuItem";
|
|
|
|
|
списокМороженогоToolStripMenuItem.Size = new Size(235, 22);
|
|
|
|
|
списокМороженогоToolStripMenuItem.Text = "Список мороженого";
|
|
|
|
|
списокМороженогоToolStripMenuItem.Click += СписокМороженогоToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоМороженымToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоМороженымToolStripMenuItem.Name = "компонентыПоМороженымToolStripMenuItem";
|
|
|
|
|
компонентыПоМороженымToolStripMenuItem.Size = new Size(235, 22);
|
|
|
|
|
компонентыПоМороженымToolStripMenuItem.Text = "Компоненты по мороженым";
|
|
|
|
|
компонентыПоМороженымToolStripMenuItem.Click += КомпонентыПоМороженымToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(235, 22);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += СписокЗаказовToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-10 13:06:58 +04:00
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonIssuedOrder.Location = new Point(844, 231);
|
|
|
|
|
buttonIssuedOrder.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(174, 27);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonOrderReady.Location = new Point(844, 171);
|
|
|
|
|
buttonOrderReady.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(174, 27);
|
|
|
|
|
buttonOrderReady.TabIndex = 3;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(844, 117);
|
|
|
|
|
buttonTakeOrderInWork.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(174, 27);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonCreateOrder.Location = new Point(844, 58);
|
|
|
|
|
buttonCreateOrder.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(174, 27);
|
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 28);
|
|
|
|
|
dataGridView.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(826, 320);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
|
|
|
|
buttonUpd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonUpd.Location = new Point(844, 290);
|
|
|
|
|
buttonUpd.Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
buttonUpd.Name = "buttonUpd";
|
|
|
|
|
buttonUpd.Size = new Size(174, 27);
|
|
|
|
|
buttonUpd.TabIndex = 5;
|
|
|
|
|
buttonUpd.Text = "Обновить список";
|
|
|
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpd.Click += ButtonUpd_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1031, 347);
|
|
|
|
|
Controls.Add(buttonUpd);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Margin = new Padding(4, 3, 4, 3);
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Лавка с мороженым";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem мороженоеToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.Button buttonIssuedOrder;
|
|
|
|
|
private System.Windows.Forms.Button buttonOrderReady;
|
|
|
|
|
private System.Windows.Forms.Button buttonTakeOrderInWork;
|
|
|
|
|
private System.Windows.Forms.Button buttonCreateOrder;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
|
|
|
private System.Windows.Forms.Button buttonUpd;
|
2024-03-25 16:17:40 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокМороженогоToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоМороженымToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-02-10 13:06:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|