2024-02-21 01:42:28 +04:00
|
|
|
|
namespace AircraftPlantView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-06 03:07:09 +04:00
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-21 01:42:28 +04:00
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-20 22:35:38 +04:00
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-06 03:07:09 +04:00
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-25 00:53:24 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-08 00:02:59 +04:00
|
|
|
|
заказыСГруппировкойToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокМагазиновToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ассортиментМагазиновToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-20 22:35:38 +04:00
|
|
|
|
запускРаботToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-06 03:07:09 +04:00
|
|
|
|
buttonAddPlaneInShop = new Button();
|
|
|
|
|
buttonSellPlanes = new Button();
|
|
|
|
|
почтаToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-21 01:42:28 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.BackgroundColor = Color.White;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Dock = DockStyle.Left;
|
|
|
|
|
dataGridView.GridColor = Color.White;
|
|
|
|
|
dataGridView.Location = new Point(0, 24);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(800, 337);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Location = new Point(822, 36);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(150, 23);
|
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += buttonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-04-20 22:35:38 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(822, 65);
|
2024-02-21 01:42:28 +04:00
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(150, 23);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += buttonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
2024-04-20 22:35:38 +04:00
|
|
|
|
buttonRefresh.Location = new Point(822, 94);
|
2024-02-21 01:42:28 +04:00
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(150, 23);
|
|
|
|
|
buttonRefresh.TabIndex = 5;
|
|
|
|
|
buttonRefresh.Text = "Обновить список";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-05-06 03:07:09 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчетыToolStripMenuItem, запускРаботToolStripMenuItem, почтаToolStripMenuItem });
|
2024-02-21 01:42:28 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(984, 24);
|
|
|
|
|
menuStrip.TabIndex = 6;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-05-06 03:07:09 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { магазиныToolStripMenuItem, компонентыToolStripMenuItem, изделияToolStripMenuItem, клиентыToolStripMenuItem, исполнителиToolStripMenuItem });
|
2024-02-21 01:42:28 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
2024-05-06 03:07:09 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(149, 22);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-21 01:42:28 +04:00
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-05-06 03:07:09 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(149, 22);
|
2024-02-21 01:42:28 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
2024-05-06 03:07:09 +04:00
|
|
|
|
изделияToolStripMenuItem.Size = new Size(149, 22);
|
2024-02-21 01:42:28 +04:00
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += изделияToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-20 22:35:38 +04:00
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
2024-05-06 03:07:09 +04:00
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(149, 22);
|
2024-04-20 22:35:38 +04:00
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += клиентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-06 03:07:09 +04:00
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(149, 22);
|
|
|
|
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-25 00:53:24 +04:00
|
|
|
|
// отчетыToolStripMenuItem
|
|
|
|
|
//
|
2024-04-08 00:02:59 +04:00
|
|
|
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { изделияToolStripMenuItem1, изделияСКомпонентамиToolStripMenuItem, списокЗаказовToolStripMenuItem, заказыСГруппировкойToolStripMenuItem, списокМагазиновToolStripMenuItem, ассортиментМагазиновToolStripMenuItem });
|
2024-03-25 00:53:24 +04:00
|
|
|
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
|
|
|
|
отчетыToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem1.Name = "изделияToolStripMenuItem1";
|
2024-05-06 03:07:09 +04:00
|
|
|
|
изделияToolStripMenuItem1.Size = new Size(250, 22);
|
2024-03-25 00:53:24 +04:00
|
|
|
|
изделияToolStripMenuItem1.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem1.Click += изделияToolStripMenuItem1_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияСКомпонентамиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Name = "изделияСКомпонентамиToolStripMenuItem";
|
2024-05-06 03:07:09 +04:00
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Size = new Size(250, 22);
|
2024-03-25 00:53:24 +04:00
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Text = "Изделия с компонентами";
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Click += изделияСКомпонентамиToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
2024-05-06 03:07:09 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(250, 22);
|
2024-03-25 00:53:24 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += списокЗаказовToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-08 00:02:59 +04:00
|
|
|
|
// заказыСГруппировкойToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
заказыСГруппировкойToolStripMenuItem.Name = "заказыСГруппировкойToolStripMenuItem";
|
|
|
|
|
заказыСГруппировкойToolStripMenuItem.Size = new Size(250, 22);
|
|
|
|
|
заказыСГруппировкойToolStripMenuItem.Text = "Список заказов с группировкой";
|
|
|
|
|
заказыСГруппировкойToolStripMenuItem.Click += заказыСГруппировкойToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокМагазиновToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокМагазиновToolStripMenuItem.Name = "списокМагазиновToolStripMenuItem";
|
|
|
|
|
списокМагазиновToolStripMenuItem.Size = new Size(250, 22);
|
|
|
|
|
списокМагазиновToolStripMenuItem.Text = "Список магазинов";
|
|
|
|
|
списокМагазиновToolStripMenuItem.Click += списокМагазиновToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ассортиментМагазиновToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ассортиментМагазиновToolStripMenuItem.Name = "ассортиментМагазиновToolStripMenuItem";
|
|
|
|
|
ассортиментМагазиновToolStripMenuItem.Size = new Size(250, 22);
|
|
|
|
|
ассортиментМагазиновToolStripMenuItem.Text = "Ассортимент магазинов";
|
|
|
|
|
ассортиментМагазиновToolStripMenuItem.Click += ассортиментМагазиновToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-20 22:35:38 +04:00
|
|
|
|
// запускРаботToolStripMenuItem
|
2024-04-07 00:02:29 +04:00
|
|
|
|
//
|
2024-04-20 22:35:38 +04:00
|
|
|
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
|
|
|
|
запускРаботToolStripMenuItem.Size = new Size(92, 20);
|
|
|
|
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
запускРаботToolStripMenuItem.Click += запускРаботToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-06 03:07:09 +04:00
|
|
|
|
// buttonAddPlaneInShop
|
2024-04-20 22:35:38 +04:00
|
|
|
|
//
|
2024-05-06 03:07:09 +04:00
|
|
|
|
buttonAddPlaneInShop.Location = new Point(822, 210);
|
|
|
|
|
buttonAddPlaneInShop.Name = "buttonAddPlaneInShop";
|
|
|
|
|
buttonAddPlaneInShop.Size = new Size(150, 50);
|
|
|
|
|
buttonAddPlaneInShop.TabIndex = 7;
|
|
|
|
|
buttonAddPlaneInShop.Text = "Добавить изделие\r\nв магазин";
|
|
|
|
|
buttonAddPlaneInShop.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddPlaneInShop.Click += buttonAddPlaneInShop_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonSellPlanes
|
|
|
|
|
//
|
|
|
|
|
buttonSellPlanes.Location = new Point(822, 266);
|
|
|
|
|
buttonSellPlanes.Name = "buttonSellPlanes";
|
|
|
|
|
buttonSellPlanes.Size = new Size(150, 23);
|
|
|
|
|
buttonSellPlanes.TabIndex = 8;
|
|
|
|
|
buttonSellPlanes.Text = "Продать изделия";
|
|
|
|
|
buttonSellPlanes.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSellPlanes.Click += buttonSellPlanes_Click;
|
|
|
|
|
//
|
|
|
|
|
// почтаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
почтаToolStripMenuItem.Name = "почтаToolStripMenuItem";
|
|
|
|
|
почтаToolStripMenuItem.Size = new Size(53, 20);
|
|
|
|
|
почтаToolStripMenuItem.Text = "Почта";
|
|
|
|
|
почтаToolStripMenuItem.Click += почтаToolStripMenuItem_Click;
|
2024-04-07 00:02:29 +04:00
|
|
|
|
//
|
2024-02-21 01:42:28 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(984, 361);
|
2024-03-11 03:09:05 +04:00
|
|
|
|
Controls.Add(buttonSellPlanes);
|
2024-02-22 01:58:33 +04:00
|
|
|
|
Controls.Add(buttonAddPlaneInShop);
|
2024-02-21 01:42:28 +04:00
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Авиационный завод";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRefresh;
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem;
|
2024-02-22 01:58:33 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
|
|
|
|
private Button buttonAddPlaneInShop;
|
2024-03-11 03:09:05 +04:00
|
|
|
|
private Button buttonSellPlanes;
|
2024-03-25 00:53:24 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem изделияСКомпонентамиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-04-08 00:02:59 +04:00
|
|
|
|
private ToolStripMenuItem заказыСГруппировкойToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокМагазиновToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ассортиментМагазиновToolStripMenuItem;
|
2024-04-07 00:02:29 +04:00
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
2024-04-20 22:35:38 +04:00
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
2024-05-06 03:07:09 +04:00
|
|
|
|
private ToolStripMenuItem почтаToolStripMenuItem;
|
2024-02-21 01:42:28 +04:00
|
|
|
|
}
|
|
|
|
|
}
|