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-02-11 17:39:43 +04:00
|
|
|
|
магазины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-02-11 17:39:43 +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
|
|
|
|
|
//
|
2024-02-11 17:39:43 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, мороженоеToolStripMenuItem, магазиныToolStripMenuItem });
|
2024-02-10 13:06:58 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// мороженоеToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
мороженоеToolStripMenuItem.Name = "мороженоеToolStripMenuItem";
|
|
|
|
|
мороженоеToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
мороженоеToolStripMenuItem.Text = "Мороженое";
|
|
|
|
|
мороженоеToolStripMenuItem.Click += МороженоеToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-11 17:39:43 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += МагазиныToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// пополнениеМагазинаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Name = "пополнениеМагазинаToolStripMenuItem";
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Size = new Size(143, 20);
|
|
|
|
|
пополнениеМагазина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-02-11 17:39:43 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem пополнениеМагазинаToolStripMenuItem;
|
2024-02-10 13:06:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|