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();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-20 22:35:38 +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-20 22:35:38 +04:00
|
|
|
|
запускРабот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;
|
|
|
|
|
//
|
|
|
|
|
// 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-04-20 22:35:38 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочники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-04-20 22:35:38 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделия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";
|
2024-04-07 00:02:29 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(180, 22);
|
2024-02-21 01:42:28 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
2024-04-07 00:02:29 +04:00
|
|
|
|
изделияToolStripMenuItem.Size = new Size(180, 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";
|
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += клиентыToolStripMenuItem_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-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;
|
|
|
|
|
//
|
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
исполнители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);
|
|
|
|
|
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-03-25 00:53:24 +04:00
|
|
|
|
private ToolStripMenuItem отчетыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem1;
|
|
|
|
|
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-02-21 01:42:28 +04:00
|
|
|
|
}
|
|
|
|
|
}
|