2024-02-24 21:32:11 +04:00
|
|
|
|
namespace DinerView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
toolStripMenuItemMenu = new ToolStripMenuItem();
|
|
|
|
|
toolStripMenuItemFoods = new ToolStripMenuItem();
|
|
|
|
|
toolStripMenuItemSnacks = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonInWork = new Button();
|
|
|
|
|
buttonIsReady = new Button();
|
|
|
|
|
buttonIsDelivery = new Button();
|
|
|
|
|
buttonUpdateList = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.BackColor = SystemColors.Control;
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItemMenu });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
2024-02-25 16:50:29 +04:00
|
|
|
|
menuStrip.Size = new Size(951, 24);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "Справочник";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemMenu
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemMenu.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItemFoods, toolStripMenuItemSnacks });
|
|
|
|
|
toolStripMenuItemMenu.Name = "toolStripMenuItemMenu";
|
|
|
|
|
toolStripMenuItemMenu.Size = new Size(94, 20);
|
|
|
|
|
toolStripMenuItemMenu.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemFoods
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemFoods.Name = "toolStripMenuItemFoods";
|
2024-03-21 19:57:27 +04:00
|
|
|
|
toolStripMenuItemFoods.Size = new Size(180, 22);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
toolStripMenuItemFoods.Text = "Продукты";
|
|
|
|
|
toolStripMenuItemFoods.Click += toolStripMenuItemFoods_Click;
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemSnacks
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemSnacks.Name = "toolStripMenuItemSnacks";
|
2024-03-21 19:57:27 +04:00
|
|
|
|
toolStripMenuItemSnacks.Size = new Size(180, 22);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
toolStripMenuItemSnacks.Text = "Снэки";
|
|
|
|
|
toolStripMenuItemSnacks.Click += toolStripMenuItemSnacks_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-02-25 16:50:29 +04:00
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
2024-02-24 21:32:11 +04:00
|
|
|
|
dataGridView.BackgroundColor = SystemColors.Control;
|
|
|
|
|
dataGridView.BorderStyle = BorderStyle.None;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 24);
|
2024-02-25 16:50:29 +04:00
|
|
|
|
dataGridView.MultiSelect = false;
|
2024-02-24 21:32:11 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
2024-02-25 16:50:29 +04:00
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(726, 426);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
2024-02-24 21:32:11 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-02-25 16:50:29 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(732, 36);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(212, 39);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += buttonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonInWork
|
|
|
|
|
//
|
2024-02-25 16:50:29 +04:00
|
|
|
|
buttonInWork.Location = new Point(732, 81);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
buttonInWork.Name = "buttonInWork";
|
|
|
|
|
buttonInWork.Size = new Size(212, 39);
|
|
|
|
|
buttonInWork.TabIndex = 3;
|
2024-02-26 20:28:10 +04:00
|
|
|
|
buttonInWork.Text = "Отдать на выполнение";
|
2024-02-24 21:32:11 +04:00
|
|
|
|
buttonInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonInWork.Click += buttonInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIsReady
|
|
|
|
|
//
|
2024-02-25 16:50:29 +04:00
|
|
|
|
buttonIsReady.Location = new Point(732, 126);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
buttonIsReady.Name = "buttonIsReady";
|
|
|
|
|
buttonIsReady.Size = new Size(212, 39);
|
|
|
|
|
buttonIsReady.TabIndex = 4;
|
|
|
|
|
buttonIsReady.Text = "Заказ готов";
|
|
|
|
|
buttonIsReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIsReady.Click += buttonIsReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIsDelivery
|
|
|
|
|
//
|
2024-02-25 16:50:29 +04:00
|
|
|
|
buttonIsDelivery.Location = new Point(732, 171);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
buttonIsDelivery.Name = "buttonIsDelivery";
|
|
|
|
|
buttonIsDelivery.Size = new Size(212, 39);
|
|
|
|
|
buttonIsDelivery.TabIndex = 5;
|
|
|
|
|
buttonIsDelivery.Text = "Заказ выдан";
|
|
|
|
|
buttonIsDelivery.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIsDelivery.Click += buttonIsDelivery_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpdateList
|
|
|
|
|
//
|
2024-02-25 16:50:29 +04:00
|
|
|
|
buttonUpdateList.Location = new Point(732, 216);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
buttonUpdateList.Name = "buttonUpdateList";
|
|
|
|
|
buttonUpdateList.Size = new Size(212, 39);
|
|
|
|
|
buttonUpdateList.TabIndex = 6;
|
|
|
|
|
buttonUpdateList.Text = "Обновить список";
|
|
|
|
|
buttonUpdateList.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpdateList.Click += buttonUpdateList_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
BackColor = SystemColors.ScrollBar;
|
2024-02-25 16:50:29 +04:00
|
|
|
|
ClientSize = new Size(951, 450);
|
2024-02-24 21:32:11 +04:00
|
|
|
|
Controls.Add(buttonUpdateList);
|
|
|
|
|
Controls.Add(buttonIsDelivery);
|
|
|
|
|
Controls.Add(buttonIsReady);
|
|
|
|
|
Controls.Add(buttonInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Name = "FormMain";
|
2024-03-21 19:57:27 +04:00
|
|
|
|
Text = "Заказы";
|
2024-02-24 21:32:11 +04:00
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemMenu;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemFoods;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemSnacks;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonInWork;
|
|
|
|
|
private Button buttonIsReady;
|
|
|
|
|
private Button buttonIsDelivery;
|
|
|
|
|
private Button buttonUpdateList;
|
|
|
|
|
}
|
|
|
|
|
}
|