2024-02-27 23:28:34 +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()
|
|
|
|
|
{
|
2024-05-06 02:41:11 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
ButtonCreateOrder = new Button();
|
|
|
|
|
ButtonTakeOrderInWork = new Button();
|
|
|
|
|
ButtonOrderReady = new Button();
|
|
|
|
|
ButtonIssuedOrder = new Button();
|
|
|
|
|
ButtonRef = new Button();
|
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
buttonAddPlane = new Button();
|
|
|
|
|
buttonSellPlanes = new Button();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
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, 30);
|
|
|
|
|
dataGridView.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(891, 505);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonCreateOrder
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
ButtonCreateOrder.Location = new Point(919, 56);
|
|
|
|
|
ButtonCreateOrder.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonCreateOrder.Name = "ButtonCreateOrder";
|
|
|
|
|
ButtonCreateOrder.Size = new Size(175, 31);
|
|
|
|
|
ButtonCreateOrder.TabIndex = 1;
|
|
|
|
|
ButtonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
ButtonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonTakeOrderInWork
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
ButtonTakeOrderInWork.Location = new Point(919, 119);
|
|
|
|
|
ButtonTakeOrderInWork.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonTakeOrderInWork.Name = "ButtonTakeOrderInWork";
|
|
|
|
|
ButtonTakeOrderInWork.Size = new Size(175, 31);
|
|
|
|
|
ButtonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
ButtonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
ButtonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonOrderReady
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
ButtonOrderReady.Location = new Point(919, 185);
|
|
|
|
|
ButtonOrderReady.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonOrderReady.Name = "ButtonOrderReady";
|
|
|
|
|
ButtonOrderReady.Size = new Size(175, 31);
|
|
|
|
|
ButtonOrderReady.TabIndex = 3;
|
|
|
|
|
ButtonOrderReady.Text = "Заказ готов";
|
|
|
|
|
ButtonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonOrderReady.Click += ButtonOrderReady_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonIssuedOrder
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
ButtonIssuedOrder.Location = new Point(919, 249);
|
|
|
|
|
ButtonIssuedOrder.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonIssuedOrder.Name = "ButtonIssuedOrder";
|
|
|
|
|
ButtonIssuedOrder.Size = new Size(175, 31);
|
|
|
|
|
ButtonIssuedOrder.TabIndex = 4;
|
|
|
|
|
ButtonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
ButtonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRef
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
ButtonRef.Location = new Point(919, 315);
|
|
|
|
|
ButtonRef.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonRef.Name = "ButtonRef";
|
|
|
|
|
ButtonRef.Size = new Size(175, 31);
|
|
|
|
|
ButtonRef.TabIndex = 5;
|
|
|
|
|
ButtonRef.Text = "Обновить список";
|
|
|
|
|
ButtonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRef.Click += ButtonRef_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Padding = new Padding(7, 3, 0, 3);
|
|
|
|
|
menuStrip1.Size = new Size(1117, 30);
|
|
|
|
|
menuStrip1.TabIndex = 6;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, магазиныToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
|
|
|
|
изделияToolStripMenuItem.Size = new Size(224, 26);
|
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
2024-03-13 11:16:22 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(224, 26);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += МагазиныToolStripMenuItem_Click;
|
2024-03-24 22:42:16 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonAddPlane
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
buttonAddPlane.Location = new Point(919, 393);
|
|
|
|
|
buttonAddPlane.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonAddPlane.Name = "buttonAddPlane";
|
|
|
|
|
buttonAddPlane.Size = new Size(186, 30);
|
|
|
|
|
buttonAddPlane.TabIndex = 7;
|
|
|
|
|
buttonAddPlane.Text = "Пополнение магазина";
|
|
|
|
|
buttonAddPlane.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonAddPlane.Click += buttonAddPlane_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonSellPlanes
|
|
|
|
|
//
|
|
|
|
|
buttonSellPlanes.Location = new Point(919, 431);
|
|
|
|
|
buttonSellPlanes.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
buttonSellPlanes.Name = "buttonSellPlanes";
|
|
|
|
|
buttonSellPlanes.Size = new Size(186, 31);
|
|
|
|
|
buttonSellPlanes.TabIndex = 8;
|
|
|
|
|
buttonSellPlanes.Text = "Продать изделия";
|
|
|
|
|
buttonSellPlanes.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonSellPlanes.Click += buttonSellPlanes_Click;
|
2024-03-13 11:16:22 +04:00
|
|
|
|
//
|
2024-02-27 23:28:34 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-05-06 02:41:11 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1117, 535);
|
|
|
|
|
Controls.Add(buttonSellPlanes);
|
|
|
|
|
Controls.Add(buttonAddPlane);
|
|
|
|
|
Controls.Add(ButtonRef);
|
|
|
|
|
Controls.Add(ButtonIssuedOrder);
|
|
|
|
|
Controls.Add(ButtonOrderReady);
|
|
|
|
|
Controls.Add(ButtonTakeOrderInWork);
|
|
|
|
|
Controls.Add(ButtonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
|
|
|
|
Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Авиационный завод";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-02-27 23:28:34 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button ButtonCreateOrder;
|
|
|
|
|
private Button ButtonTakeOrderInWork;
|
|
|
|
|
private Button ButtonOrderReady;
|
|
|
|
|
private Button ButtonIssuedOrder;
|
|
|
|
|
private Button ButtonRef;
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem;
|
2024-03-13 11:16:22 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
2024-03-24 22:42:16 +04:00
|
|
|
|
private Button buttonAddPlane;
|
2024-05-06 02:41:11 +04:00
|
|
|
|
private Button buttonSellPlanes;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
}
|
|
|
|
|
}
|