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-25 00:39:31 +04:00
|
|
|
|
shopsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
shopsSupplyToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
sellCarsToolStripMenuItem = 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();
|
2024-03-25 00:39:31 +04:00
|
|
|
|
shopsListToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
storeCongestionToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
listOdOrdersByDatesToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-05 23:37:18 +04:00
|
|
|
|
clientsToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-12 14:42:27 +04:00
|
|
|
|
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
|
|
|
|
|
//
|
2024-04-06 21:35:42 +04:00
|
|
|
|
toolStripMenuItemCatalogs.DropDownItems.AddRange(new ToolStripItem[] { toolStripMenuItemComponents, toolStripMenuItemCars, shopsToolStripMenuItem, clientsToolStripMenuItem, shopsSupplyToolStripMenuItem, sellCarsToolStripMenuItem });
|
2024-02-12 14:42:27 +04:00
|
|
|
|
toolStripMenuItemCatalogs.Name = "toolStripMenuItemCatalogs";
|
|
|
|
|
toolStripMenuItemCatalogs.Size = new Size(65, 20);
|
|
|
|
|
toolStripMenuItemCatalogs.Text = "Catalogs";
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemComponents
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemComponents.Name = "toolStripMenuItemComponents";
|
2024-03-25 00:39:31 +04:00
|
|
|
|
toolStripMenuItemComponents.Size = new Size(147, 22);
|
2024-04-05 23:37:18 +04:00
|
|
|
|
toolStripMenuItemComponents.Size = new Size(180, 22);
|
2024-02-12 14:42:27 +04:00
|
|
|
|
toolStripMenuItemComponents.Text = "Components";
|
|
|
|
|
toolStripMenuItemComponents.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItemCars
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItemCars.Name = "toolStripMenuItemCars";
|
2024-04-05 23:37:18 +04:00
|
|
|
|
toolStripMenuItemCars.Size = new Size(180, 22);
|
2024-02-12 14:42:27 +04:00
|
|
|
|
toolStripMenuItemCars.Text = "Cars";
|
|
|
|
|
toolStripMenuItemCars.Click += CarsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-25 00:39:31 +04:00
|
|
|
|
// shopsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
shopsToolStripMenuItem.Name = "shopsToolStripMenuItem";
|
|
|
|
|
shopsToolStripMenuItem.Size = new Size(147, 22);
|
|
|
|
|
shopsToolStripMenuItem.Text = "Shops";
|
|
|
|
|
shopsToolStripMenuItem.Click += shopsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// shopsSupplyToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
shopsSupplyToolStripMenuItem.Name = "shopsSupplyToolStripMenuItem";
|
|
|
|
|
shopsSupplyToolStripMenuItem.Size = new Size(147, 22);
|
|
|
|
|
shopsSupplyToolStripMenuItem.Text = "Shop's supply";
|
|
|
|
|
shopsSupplyToolStripMenuItem.Click += shopsSupplyToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// sellCarsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
sellCarsToolStripMenuItem.Name = "sellCarsToolStripMenuItem";
|
|
|
|
|
sellCarsToolStripMenuItem.Size = new Size(147, 22);
|
|
|
|
|
sellCarsToolStripMenuItem.Text = "Sell Cars";
|
|
|
|
|
sellCarsToolStripMenuItem.Click += sellCarsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-24 19:22:01 +04:00
|
|
|
|
// reportsToolStripMenuItem
|
|
|
|
|
//
|
2024-03-25 00:39:31 +04:00
|
|
|
|
reportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { carsListToolStripMenuItem, componentsByCarsToolStripMenuItem, ordersListToolStripMenuItem, shopsListToolStripMenuItem, storeCongestionToolStripMenuItem, listOdOrdersByDatesToolStripMenuItem });
|
2024-03-24 19:22:01 +04:00
|
|
|
|
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;
|
|
|
|
|
//
|
2024-03-25 00:39:31 +04:00
|
|
|
|
// shopsListToolStripMenuItem
|
2024-03-24 20:56:50 +04:00
|
|
|
|
//
|
2024-03-25 00:39:31 +04:00
|
|
|
|
shopsListToolStripMenuItem.Name = "shopsListToolStripMenuItem";
|
|
|
|
|
shopsListToolStripMenuItem.Size = new Size(192, 22);
|
|
|
|
|
shopsListToolStripMenuItem.Text = "Shops' list";
|
|
|
|
|
shopsListToolStripMenuItem.Click += shopsListToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// storeCongestionToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
storeCongestionToolStripMenuItem.Name = "storeCongestionToolStripMenuItem";
|
|
|
|
|
storeCongestionToolStripMenuItem.Size = new Size(192, 22);
|
|
|
|
|
storeCongestionToolStripMenuItem.Text = "Store congestion";
|
|
|
|
|
storeCongestionToolStripMenuItem.Click += storeCongestionToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// listOdOrdersByDatesToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
listOdOrdersByDatesToolStripMenuItem.Name = "listOdOrdersByDatesToolStripMenuItem";
|
|
|
|
|
listOdOrdersByDatesToolStripMenuItem.Size = new Size(192, 22);
|
|
|
|
|
listOdOrdersByDatesToolStripMenuItem.Text = "List od orders by dates";
|
|
|
|
|
listOdOrdersByDatesToolStripMenuItem.Click += listOdOrdersByDatesToolStripMenuItem_Click;
|
2024-03-24 20:56:50 +04:00
|
|
|
|
//
|
2024-04-05 23:37:18 +04:00
|
|
|
|
// clientsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
clientsToolStripMenuItem.Name = "clientsToolStripMenuItem";
|
|
|
|
|
clientsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
clientsToolStripMenuItem.Text = "Clients";
|
|
|
|
|
clientsToolStripMenuItem.Click += clientsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-12 14:42:27 +04:00
|
|
|
|
// 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-03-24 20:56:50 +04:00
|
|
|
|
private ToolStripMenuItem shopsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem shopsSupplyToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem sellCarsToolStripMenuItem;
|
2024-03-25 00:39:31 +04:00
|
|
|
|
private ToolStripMenuItem shopsListToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem storeCongestionToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem listOdOrdersByDatesToolStripMenuItem;
|
2024-04-05 23:37:18 +04:00
|
|
|
|
private ToolStripMenuItem clientsToolStripMenuItem;
|
2024-02-12 14:42:27 +04:00
|
|
|
|
}
|
|
|
|
|
}
|