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();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-22 01:58:33 +04:00
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
buttonAddPlaneInShop = new Button();
|
2024-03-11 03:09:05 +04:00
|
|
|
|
buttonSellPlanes = new Button();
|
2024-03-25 00:53:24 +04:00
|
|
|
|
отчетыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказов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;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(822, 76);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(150, 23);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += buttonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Location = new Point(822, 105);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(150, 23);
|
|
|
|
|
buttonOrderReady.TabIndex = 3;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += buttonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Location = new Point(822, 134);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(150, 23);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += buttonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.Location = new Point(822, 172);
|
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(150, 23);
|
|
|
|
|
buttonRefresh.TabIndex = 5;
|
|
|
|
|
buttonRefresh.Text = "Обновить список";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += buttonRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-03-25 00:53:24 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочники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-02-22 01:58:33 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, магазиныToolStripMenuItem });
|
2024-02-21 01:42:28 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
|
|
|
|
изделияToolStripMenuItem.Size = new Size(145, 22);
|
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += изделияToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-22 01:58:33 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
2024-03-11 03:09:05 +04:00
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(145, 22);
|
2024-02-22 01:58:33 +04:00
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonAddPlaneInShop
|
|
|
|
|
//
|
|
|
|
|
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;
|
|
|
|
|
//
|
2024-03-11 03:09:05 +04:00
|
|
|
|
// 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;
|
|
|
|
|
//
|
2024-03-25 00:53:24 +04:00
|
|
|
|
// отчетыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчетыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { изделияToolStripMenuItem1, изделияСКомпонентамиToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчетыToolStripMenuItem.Name = "отчетыToolStripMenuItem";
|
|
|
|
|
отчетыToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
отчетыToolStripMenuItem.Text = "Отчеты";
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem1.Name = "изделияToolStripMenuItem1";
|
|
|
|
|
изделияToolStripMenuItem1.Size = new Size(215, 22);
|
|
|
|
|
изделияToolStripMenuItem1.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem1.Click += изделияToolStripMenuItem1_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияСКомпонентамиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Name = "изделияСКомпонентамиToolStripMenuItem";
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Size = new Size(215, 22);
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Text = "Изделия с компонентами";
|
|
|
|
|
изделияСКомпонентамиToolStripMenuItem.Click += изделияСКомпонентамиToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(215, 22);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += списокЗаказовToolStripMenuItem_Click;
|
|
|
|
|
//
|
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(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
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 buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
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-02-21 01:42:28 +04:00
|
|
|
|
}
|
|
|
|
|
}
|