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-04-06 23:50:52 +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();
|
2024-04-07 19:07:33 +04:00
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокКомпонентовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-06 23:50:52 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-04-06 23:50:52 +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-04-06 23:50:52 +04:00
|
|
|
|
ButtonCreateOrder.Location = new Point(919, 56);
|
|
|
|
|
ButtonCreateOrder.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonCreateOrder.Name = "ButtonCreateOrder";
|
|
|
|
|
ButtonCreateOrder.Size = new Size(213, 31);
|
|
|
|
|
ButtonCreateOrder.TabIndex = 1;
|
|
|
|
|
ButtonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
ButtonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonTakeOrderInWork
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
ButtonTakeOrderInWork.Location = new Point(919, 119);
|
|
|
|
|
ButtonTakeOrderInWork.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonTakeOrderInWork.Name = "ButtonTakeOrderInWork";
|
|
|
|
|
ButtonTakeOrderInWork.Size = new Size(213, 31);
|
|
|
|
|
ButtonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
ButtonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
ButtonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonOrderReady
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
ButtonOrderReady.Location = new Point(919, 185);
|
|
|
|
|
ButtonOrderReady.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonOrderReady.Name = "ButtonOrderReady";
|
|
|
|
|
ButtonOrderReady.Size = new Size(213, 31);
|
|
|
|
|
ButtonOrderReady.TabIndex = 3;
|
|
|
|
|
ButtonOrderReady.Text = "Заказ готов";
|
|
|
|
|
ButtonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonOrderReady.Click += ButtonOrderReady_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonIssuedOrder
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
ButtonIssuedOrder.Location = new Point(919, 249);
|
|
|
|
|
ButtonIssuedOrder.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonIssuedOrder.Name = "ButtonIssuedOrder";
|
|
|
|
|
ButtonIssuedOrder.Size = new Size(213, 31);
|
|
|
|
|
ButtonIssuedOrder.TabIndex = 4;
|
|
|
|
|
ButtonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
ButtonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// ButtonRef
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
ButtonRef.Location = new Point(919, 315);
|
|
|
|
|
ButtonRef.Margin = new Padding(3, 4, 3, 4);
|
|
|
|
|
ButtonRef.Name = "ButtonRef";
|
|
|
|
|
ButtonRef.Size = new Size(213, 31);
|
|
|
|
|
ButtonRef.TabIndex = 5;
|
|
|
|
|
ButtonRef.Text = "Обновить список";
|
|
|
|
|
ButtonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
ButtonRef.Click += ButtonRef_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
2024-04-07 19:07:33 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчётыToolStripMenuItem });
|
2024-04-06 23:50:52 +04:00
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Padding = new Padding(7, 3, 0, 3);
|
|
|
|
|
menuStrip1.Size = new Size(1154, 30);
|
|
|
|
|
menuStrip1.TabIndex = 6;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-04-07 19:07:33 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
2024-04-06 23:50:52 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
2024-04-07 19:07:33 +04:00
|
|
|
|
изделияToolStripMenuItem.Size = new Size(224, 26);
|
2024-04-06 23:50:52 +04:00
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
//
|
2024-04-07 19:07:33 +04:00
|
|
|
|
// отчётыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокКомпонентовToolStripMenuItem, компонентыПоИзделиямToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(73, 24);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
|
|
|
|
//
|
|
|
|
|
// списокКомпонентовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Name = "списокКомпонентовToolStripMenuItem";
|
2024-04-22 16:41:09 +04:00
|
|
|
|
списокКомпонентовToolStripMenuItem.Size = new Size(284, 26);
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Text = "Список самолётов";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Click += СписокСамолётовToolStripMenuItem_Click;
|
2024-04-07 19:07:33 +04:00
|
|
|
|
//
|
|
|
|
|
// компонентыПоИзделиямToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Name = "компонентыПоИзделиямToolStripMenuItem";
|
2024-04-22 16:41:09 +04:00
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Size = new Size(284, 26);
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Text = "Компоненты по самолётам";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Click += КомпонентыПоСамолётамToolStripMenuItem_Click;
|
2024-04-07 19:07:33 +04:00
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
2024-04-22 16:41:09 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(284, 26);
|
2024-04-07 19:07:33 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
2024-04-22 16:41:09 +04:00
|
|
|
|
списокЗаказовToolStripMenuItem.Click += СписокЗаказовToolStripMenuItem_Click;
|
2024-04-07 19:07:33 +04:00
|
|
|
|
//
|
2024-02-27 23:28:34 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-04-06 23:50:52 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1154, 535);
|
|
|
|
|
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-04-07 19:07:33 +04:00
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокКомпонентовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоИзделиямToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-02-27 23:28:34 +04:00
|
|
|
|
}
|
|
|
|
|
}
|