2024-02-12 20:09:21 +04:00
|
|
|
|
namespace CarRepairShopView
|
|
|
|
|
{
|
|
|
|
|
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();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-07 18:14:58 +04:00
|
|
|
|
ShopsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
FillShopToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-12 20:09:21 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
|
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
|
|
|
|
menuStrip1.Size = new Size(1059, 24);
|
|
|
|
|
menuStrip1.TabIndex = 0;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-04-07 18:14:58 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, ShopsToolStripMenuItem, FillShopToolStripMenuItem });
|
2024-02-12 20:09:21 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-04-07 18:14:58 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(198, 22);
|
2024-02-12 20:09:21 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
2024-04-07 18:14:58 +04:00
|
|
|
|
изделияToolStripMenuItem.Size = new Size(198, 22);
|
2024-02-12 20:09:21 +04:00
|
|
|
|
изделияToolStripMenuItem.Text = "Ремонт";
|
|
|
|
|
изделияToolStripMenuItem.Click += ремонтToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-07 18:14:58 +04:00
|
|
|
|
// ShopsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ShopsToolStripMenuItem.Name = "ShopsToolStripMenuItem";
|
|
|
|
|
ShopsToolStripMenuItem.Size = new Size(198, 22);
|
|
|
|
|
ShopsToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
ShopsToolStripMenuItem.Click += ShopsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// FillShopToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
FillShopToolStripMenuItem.Name = "FillShopToolStripMenuItem";
|
|
|
|
|
FillShopToolStripMenuItem.Size = new Size(198, 22);
|
|
|
|
|
FillShopToolStripMenuItem.Text = "Пополнение магазина";
|
|
|
|
|
FillShopToolStripMenuItem.Click += FillShopToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-12 20:09:21 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
|
|
|
dataGridView.BackgroundColor = Color.White;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 27);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(827, 349);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonCreateOrder.Location = new Point(844, 54);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(198, 28);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += buttonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(844, 108);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(198, 28);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += buttonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonOrderReady.Location = new Point(844, 162);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(198, 28);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += buttonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonIssuedOrder.Location = new Point(844, 214);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(198, 28);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += buttonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
|
|
|
|
buttonRef.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonRef.Location = new Point(844, 269);
|
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(198, 28);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += buttonRef_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1059, 377);
|
|
|
|
|
Controls.Add(buttonRef);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Автомастерская";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
2024-04-07 18:14:58 +04:00
|
|
|
|
private ToolStripMenuItem ShopsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem FillShopToolStripMenuItem;
|
2024-02-12 20:09:21 +04:00
|
|
|
|
}
|
|
|
|
|
}
|