2024-02-12 14:42:27 +04:00
|
|
|
|
namespace AutomobilePlantView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
toolStripMenuItemCatalogs = new ToolStripMenuItem();
|
|
|
|
|
toolStripMenuItemComponents = new ToolStripMenuItem();
|
|
|
|
|
toolStripMenuItemCars = new ToolStripMenuItem();
|
2024-03-24 19:22:01 +04:00
|
|
|
|
reportsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
carsListToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsByCarsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersListToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-12 14:42:27 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
2024-03-24 19:22:01 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { toolStripMenuItemCatalogs, reportsToolStripMenuItem });
|
2024-02-12 14:42:27 +04:00
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Size = new Size(800, 24);
|
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemCatalogs
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemCatalogs.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItemComponents, toolStripMenuItemCars });
|
|
|
|
|
toolStripMenuItemCatalogs.Name = "toolStripMenuItemCatalogs";
|
|
|
|
|
toolStripMenuItemCatalogs.Size = new Size(65, 20);
|
|
|
|
|
toolStripMenuItemCatalogs.Text = "Catalogs";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemComponents
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemComponents.Name = "toolStripMenuItemComponents";
|
2024-03-24 19:22:01 +04:00
|
|
|
|
toolStripMenuItemComponents.Size = new Size(143, 22);
|
2024-02-12 14:42:27 +04:00
|
|
|
|
toolStripMenuItemComponents.Text = "Components";
|
|
|
|
|
toolStripMenuItemComponents.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemCars
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemCars.Name = "toolStripMenuItemCars";
|
2024-03-24 19:22:01 +04:00
|
|
|
|
toolStripMenuItemCars.Size = new Size(143, 22);
|
2024-02-12 14:42:27 +04:00
|
|
|
|
toolStripMenuItemCars.Text = "Cars";
|
|
|
|
|
toolStripMenuItemCars.Click += CarsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-24 19:22:01 +04:00
|
|
|
|
// reportsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
reportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { carsListToolStripMenuItem, componentsByCarsToolStripMenuItem, ordersListToolStripMenuItem });
|
|
|
|
|
reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
|
|
|
|
|
reportsToolStripMenuItem.Size = new Size(59, 20);
|
|
|
|
|
reportsToolStripMenuItem.Text = "Reports";
|
|
|
|
|
//
|
|
|
|
|
// carsListToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
carsListToolStripMenuItem.Name = "carsListToolStripMenuItem";
|
|
|
|
|
carsListToolStripMenuItem.Size = new Size(186, 22);
|
|
|
|
|
carsListToolStripMenuItem.Text = "Cars' list";
|
|
|
|
|
carsListToolStripMenuItem.Click += carsListToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// componentsByCarsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
componentsByCarsToolStripMenuItem.Name = "componentsByCarsToolStripMenuItem";
|
|
|
|
|
componentsByCarsToolStripMenuItem.Size = new Size(186, 22);
|
|
|
|
|
componentsByCarsToolStripMenuItem.Text = "Components' by cars";
|
|
|
|
|
componentsByCarsToolStripMenuItem.Click += componentsByCarsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ordersListToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ordersListToolStripMenuItem.Name = "ordersListToolStripMenuItem";
|
|
|
|
|
ordersListToolStripMenuItem.Size = new Size(186, 22);
|
|
|
|
|
ordersListToolStripMenuItem.Text = "Orders' list";
|
|
|
|
|
ordersListToolStripMenuItem.Click += ordersListToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-12 14:42:27 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 27);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.Size = new Size(659, 411);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Location = new Point(677, 27);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(111, 23);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Create order";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(677, 56);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(111, 23);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Take order in work";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Location = new Point(677, 85);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(111, 23);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Order is ready";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Location = new Point(677, 114);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(111, 23);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Order is issued";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.Location = new Point(677, 143);
|
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(111, 23);
|
|
|
|
|
buttonRefresh.TabIndex = 6;
|
|
|
|
|
buttonRefresh.Text = "Refresh";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += ButtonRef_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(800, 450);
|
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Automobile plant";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemCatalogs;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemComponents;
|
|
|
|
|
private ToolStripMenuItem toolStripMenuItemCars;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRefresh;
|
2024-03-24 19:22:01 +04:00
|
|
|
|
private ToolStripMenuItem reportsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem carsListToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsByCarsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ordersListToolStripMenuItem;
|
2024-02-12 14:42:27 +04:00
|
|
|
|
}
|
|
|
|
|
}
|