2024-06-17 19:27:42 +04:00
|
|
|
|
namespace SoftwareInstallation
|
2024-04-07 16:54:02 +04:00
|
|
|
|
{
|
2024-06-17 19:27:42 +04:00
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
|
2024-06-17 19:27:42 +04:00
|
|
|
|
/// <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);
|
|
|
|
|
}
|
2024-04-07 16:54:02 +04:00
|
|
|
|
|
2024-06-17 19:27:42 +04:00
|
|
|
|
#region Windows Form Designer generated code
|
2024-04-07 16:54:02 +04:00
|
|
|
|
|
2024-06-17 19:27:42 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required method for Designer support - do not modify
|
|
|
|
|
/// the contents of this method with the code editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ремонтToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокКомпонентовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоРемонтуToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
запускРаботToolStripMenuItem1 = new ToolStripMenuItem();
|
|
|
|
|
почтаToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
создатьБэкапToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчётыToolStripMenuItem, запускРаботToolStripMenuItem1, почтаToolStripMenuItem, создатьБэкапToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(1542, 28);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "Меню справочников";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, ремонтToolStripMenuItem, клиентыToolStripMenuItem, исполнителиToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(185, 26);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ремонтToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ремонтToolStripMenuItem.Name = "ремонтToolStripMenuItem";
|
|
|
|
|
ремонтToolStripMenuItem.Size = new Size(185, 26);
|
|
|
|
|
ремонтToolStripMenuItem.Text = "Ремонт";
|
|
|
|
|
ремонтToolStripMenuItem.Click += RepairToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(185, 26);
|
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += ClientsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(185, 26);
|
|
|
|
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
исполнителиToolStripMenuItem.Click += ImplementersToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// отчётыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокКомпонентовToolStripMenuItem, компонентыПоРемонтуToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(73, 24);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
|
|
|
|
//
|
|
|
|
|
// списокКомпонентовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Name = "списокКомпонентовToolStripMenuItem";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Size = new Size(267, 26);
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Text = "Список компонентов";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Click += ListComponentToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоРемонтуToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоРемонтуToolStripMenuItem.Name = "компонентыПоРемонтуToolStripMenuItem";
|
|
|
|
|
компонентыПоРемонтуToolStripMenuItem.Size = new Size(267, 26);
|
|
|
|
|
компонентыПоРемонтуToolStripMenuItem.Text = "Компоненты по ремонту";
|
|
|
|
|
компонентыПоРемонтуToolStripMenuItem.Click += RepairComponentToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(267, 26);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += ListOrderToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// запускРаботToolStripMenuItem1
|
|
|
|
|
//
|
|
|
|
|
запускРаботToolStripMenuItem1.Name = "запускРаботToolStripMenuItem1";
|
|
|
|
|
запускРаботToolStripMenuItem1.Size = new Size(114, 24);
|
|
|
|
|
запускРаботToolStripMenuItem1.Text = "Запуск работ";
|
|
|
|
|
запускРаботToolStripMenuItem1.Click += StartingWorkToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// почтаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
почтаToolStripMenuItem.Name = "почтаToolStripMenuItem";
|
|
|
|
|
почтаToolStripMenuItem.Size = new Size(65, 24);
|
|
|
|
|
почтаToolStripMenuItem.Text = "Почта";
|
|
|
|
|
почтаToolStripMenuItem.Click += MailToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.BackgroundColor = Color.White;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 31);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(1272, 368);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Location = new Point(1299, 68);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(212, 29);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1299, 125);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(212, 29);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Location = new Point(1299, 189);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(212, 29);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Location = new Point(1299, 254);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(212, 29);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.Location = new Point(1299, 322);
|
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(212, 29);
|
|
|
|
|
buttonRefresh.TabIndex = 6;
|
|
|
|
|
buttonRefresh.Text = "Обновить список";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += ButtonRef_Click;
|
|
|
|
|
//
|
|
|
|
|
// создатьБэкапToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
создатьБэкапToolStripMenuItem.Name = "создатьБэкапToolStripMenuItem";
|
|
|
|
|
создатьБэкапToolStripMenuItem.Size = new Size(122, 24);
|
|
|
|
|
создатьБэкапToolStripMenuItem.Text = "Создать бэкап";
|
|
|
|
|
создатьБэкапToolStripMenuItem.Click += CreateBackUpToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1542, 403);
|
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "Автомастерская";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
2024-04-07 16:54:02 +04:00
|
|
|
|
|
2024-06-17 19:27:42 +04:00
|
|
|
|
#endregion
|
2024-04-07 16:54:02 +04:00
|
|
|
|
|
2024-06-17 19:27:42 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
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 buttonRefresh;
|
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокКомпонентовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоРемонтуToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem1;
|
|
|
|
|
private ToolStripMenuItem почтаToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem создатьБэкапToolStripMenuItem;
|
|
|
|
|
}
|
2024-04-07 16:54:02 +04:00
|
|
|
|
}
|