195 lines
9.0 KiB
C#
195 lines
9.0 KiB
C#
namespace FoodOrdersView
|
||
{
|
||
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();
|
||
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
|
||
//
|
||
menuStrip.ImageScalingSize = new Size(20, 20);
|
||
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
|
||
menuStrip.Location = new Point(0, 0);
|
||
menuStrip.Name = "menuStrip";
|
||
menuStrip.Padding = new Padding(8, 3, 0, 3);
|
||
menuStrip.Size = new Size(1178, 30);
|
||
menuStrip.TabIndex = 0;
|
||
menuStrip.Text = "menuStrip1";
|
||
//
|
||
// справочникиToolStripMenuItem
|
||
//
|
||
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, блюдоToolStripMenuItem });
|
||
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
||
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
||
справочникиToolStripMenuItem.Text = "Справочники";
|
||
//
|
||
// компонентыToolStripMenuItem
|
||
//
|
||
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
||
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
||
компонентыToolStripMenuItem.Text = "Компоненты";
|
||
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
||
//
|
||
// блюдоToolStripMenuItem
|
||
//
|
||
блюдоToolStripMenuItem.Name = "блюдоToolStripMenuItem";
|
||
блюдоToolStripMenuItem.Size = new Size(224, 26);
|
||
блюдоToolStripMenuItem.Text = "Еда";
|
||
блюдоToolStripMenuItem.Click += БлюдоToolStripMenuItem_Click;
|
||
//
|
||
// buttonIssuedOrder
|
||
//
|
||
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonIssuedOrder.Location = new Point(965, 308);
|
||
buttonIssuedOrder.Margin = new Padding(5, 4, 5, 4);
|
||
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
||
buttonIssuedOrder.Size = new Size(199, 36);
|
||
buttonIssuedOrder.TabIndex = 4;
|
||
buttonIssuedOrder.Text = "Заказ выдан";
|
||
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
||
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
||
//
|
||
// buttonOrderReady
|
||
//
|
||
buttonOrderReady.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonOrderReady.Location = new Point(965, 228);
|
||
buttonOrderReady.Margin = new Padding(5, 4, 5, 4);
|
||
buttonOrderReady.Name = "buttonOrderReady";
|
||
buttonOrderReady.Size = new Size(199, 36);
|
||
buttonOrderReady.TabIndex = 3;
|
||
buttonOrderReady.Text = "Заказ готов";
|
||
buttonOrderReady.UseVisualStyleBackColor = true;
|
||
buttonOrderReady.Click += ButtonOrderReady_Click;
|
||
//
|
||
// buttonTakeOrderInWork
|
||
//
|
||
buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonTakeOrderInWork.Location = new Point(965, 156);
|
||
buttonTakeOrderInWork.Margin = new Padding(5, 4, 5, 4);
|
||
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
||
buttonTakeOrderInWork.Size = new Size(199, 36);
|
||
buttonTakeOrderInWork.TabIndex = 2;
|
||
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
||
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
||
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
||
//
|
||
// buttonCreateOrder
|
||
//
|
||
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonCreateOrder.Location = new Point(965, 77);
|
||
buttonCreateOrder.Margin = new Padding(5, 4, 5, 4);
|
||
buttonCreateOrder.Name = "buttonCreateOrder";
|
||
buttonCreateOrder.Size = new Size(199, 36);
|
||
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, 37);
|
||
dataGridView.Margin = new Padding(5, 4, 5, 4);
|
||
dataGridView.MultiSelect = false;
|
||
dataGridView.Name = "dataGridView";
|
||
dataGridView.ReadOnly = true;
|
||
dataGridView.RowHeadersVisible = false;
|
||
dataGridView.RowHeadersWidth = 51;
|
||
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
||
dataGridView.Size = new Size(944, 427);
|
||
dataGridView.TabIndex = 0;
|
||
//
|
||
// buttonUpd
|
||
//
|
||
buttonUpd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||
buttonUpd.Location = new Point(965, 387);
|
||
buttonUpd.Margin = new Padding(5, 4, 5, 4);
|
||
buttonUpd.Name = "buttonUpd";
|
||
buttonUpd.Size = new Size(199, 36);
|
||
buttonUpd.TabIndex = 5;
|
||
buttonUpd.Text = "Обновить список";
|
||
buttonUpd.UseVisualStyleBackColor = true;
|
||
buttonUpd.Click += ButtonUpd_Click;
|
||
//
|
||
// FormMain
|
||
//
|
||
AutoScaleDimensions = new SizeF(8F, 20F);
|
||
AutoScaleMode = AutoScaleMode.Font;
|
||
ClientSize = new Size(1178, 463);
|
||
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(5, 4, 5, 4);
|
||
Name = "FormMain";
|
||
StartPosition = FormStartPosition.CenterScreen;
|
||
Text = "Столовая";
|
||
Load += FormMain_Load;
|
||
menuStrip.ResumeLayout(false);
|
||
menuStrip.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
||
ResumeLayout(false);
|
||
PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
|
||
private MenuStrip menuStrip;
|
||
private ToolStripMenuItem справочникиToolStripMenuItem;
|
||
private ToolStripMenuItem компонентыToolStripMenuItem;
|
||
private ToolStripMenuItem блюдоToolStripMenuItem;
|
||
private Button buttonIssuedOrder;
|
||
private Button buttonOrderReady;
|
||
private Button buttonTakeOrderInWork;
|
||
private Button buttonCreateOrder;
|
||
private DataGridView dataGridView;
|
||
private Button buttonUpd;
|
||
}
|
||
}
|
||
|