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-04-07 18:18:58 +04:00
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-21 21:02:36 +04:00
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-25 16:17:40 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокМороженогоToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоМороженымToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-21 21:02:36 +04:00
|
|
|
|
запускРаботToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-10 13:06:58 +04:00
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-04-21 21:02:36 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчеты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);
|
2024-04-21 21:02:36 +04:00
|
|
|
|
menuStrip.Size = new Size(1144, 24);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-04-21 21:02:36 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, мороженое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";
|
2024-04-21 21:02:36 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(149, 22);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// мороженоеToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
мороженоеToolStripMenuItem.Name = "мороженоеToolStripMenuItem";
|
2024-04-21 21:02:36 +04:00
|
|
|
|
мороженоеToolStripMenuItem.Size = new Size(149, 22);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
мороженоеToolStripMenuItem.Text = "Мороженое";
|
|
|
|
|
мороженоеToolStripMenuItem.Click += МороженоеToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-07 18:18:58 +04:00
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
2024-04-21 21:02:36 +04:00
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(149, 22);
|
2024-04-07 18:18:58 +04:00
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-21 21:02:36 +04:00
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(149, 22);
|
|
|
|
|
исполнители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-04-21 21:02:36 +04:00
|
|
|
|
// запускРаботToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
|
|
|
|
запускРаботToolStripMenuItem.Size = new Size(92, 20);
|
|
|
|
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
запускРаботToolStripMenuItem.Click += ЗапускРаботToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-10 13:06:58 +04:00
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2024-04-21 21:02:36 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(957, 117);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
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;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2024-04-21 21:02:36 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(957, 58);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
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;
|
2024-04-21 21:02:36 +04:00
|
|
|
|
dataGridView.Size = new Size(939, 320);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
|
|
|
|
buttonUpd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
2024-04-21 21:02:36 +04:00
|
|
|
|
buttonUpd.Location = new Point(957, 176);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
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;
|
2024-04-21 21:02:36 +04:00
|
|
|
|
ClientSize = new Size(1144, 347);
|
2024-02-10 13:06:58 +04:00
|
|
|
|
Controls.Add(buttonUpd);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
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 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-04-07 18:18:58 +04:00
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
2024-04-21 21:02:36 +04:00
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
2024-02-10 13:06:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|