2024-02-05 20:36:39 +04:00
|
|
|
|
namespace ComputersShopView
|
|
|
|
|
{
|
2024-04-14 16:11:19 +04:00
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
|
2024-04-14 16:11:19 +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-02-05 20:36:39 +04:00
|
|
|
|
|
2024-04-01 20:00:17 +04:00
|
|
|
|
#region Windows Form Designer generated code
|
2024-02-05 20:36:39 +04:00
|
|
|
|
|
2024-04-01 20:00:17 +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();
|
|
|
|
|
dictionaryToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-16 23:12:48 +04:00
|
|
|
|
computerToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-14 16:11:19 +04:00
|
|
|
|
clientsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
implementersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
computerListToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsOfComputersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
listOrderToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
doWorkToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-01 20:00:17 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
2024-04-16 23:12:48 +04:00
|
|
|
|
почтаToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-01 20:00:17 +04:00
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-04-16 23:12:48 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { dictionaryToolStripMenuItem, отчётыToolStripMenuItem, doWorkToolStripMenuItem, почтаToolStripMenuItem });
|
2024-04-01 20:00:17 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(1047, 24);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
2024-02-18 13:58:39 +04:00
|
|
|
|
// dictionaryToolStripMenuItem
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
dictionaryToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem, computerToolStripMenuItem, clientsToolStripMenuItem, implementersToolStripMenuItem });
|
2024-04-01 20:00:17 +04:00
|
|
|
|
dictionaryToolStripMenuItem.Name = "dictionaryToolStripMenuItem";
|
|
|
|
|
dictionaryToolStripMenuItem.Size = new Size(94, 20);
|
2024-04-14 16:11:19 +04:00
|
|
|
|
dictionaryToolStripMenuItem.Text = "Справочники";
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// componentsToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
|
2024-04-16 23:12:48 +04:00
|
|
|
|
componentsToolStripMenuItem.Size = new Size(149, 22);
|
2024-04-01 20:00:17 +04:00
|
|
|
|
componentsToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
componentsToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-16 23:12:48 +04:00
|
|
|
|
// computerToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
computerToolStripMenuItem.Name = "computerToolStripMenuItem";
|
|
|
|
|
computerToolStripMenuItem.Size = new Size(149, 22);
|
|
|
|
|
computerToolStripMenuItem.Text = "Компьютеры";
|
|
|
|
|
computerToolStripMenuItem.Click += ComputersToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
// clientsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
clientsToolStripMenuItem.Name = "clientsToolStripMenuItem";
|
2024-04-16 23:12:48 +04:00
|
|
|
|
clientsToolStripMenuItem.Size = new Size(149, 22);
|
2024-04-14 16:11:19 +04:00
|
|
|
|
clientsToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
clientsToolStripMenuItem.Click += ClientsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// implementersToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
implementersToolStripMenuItem.Name = "implementersToolStripMenuItem";
|
2024-04-16 23:12:48 +04:00
|
|
|
|
implementersToolStripMenuItem.Size = new Size(149, 22);
|
2024-04-14 16:11:19 +04:00
|
|
|
|
implementersToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
implementersToolStripMenuItem.Click += ImplementersToolStripMenuItem_Click;
|
2024-04-01 20:00:17 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
// отчётыToolStripMenuItem
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { computerListToolStripMenuItem, componentsOfComputersToolStripMenuItem, listOrderToolStripMenuItem });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
// computerListToolStripMenuItem
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
computerListToolStripMenuItem.Name = "computerListToolStripMenuItem";
|
|
|
|
|
computerListToolStripMenuItem.Size = new Size(243, 22);
|
|
|
|
|
computerListToolStripMenuItem.Text = "Список компьютеров";
|
|
|
|
|
computerListToolStripMenuItem.Click += ComponentsDocxToolStripMenuItem_Click;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
// componentsOfComputersToolStripMenuItem
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
componentsOfComputersToolStripMenuItem.Name = "componentsOfComputersToolStripMenuItem";
|
|
|
|
|
componentsOfComputersToolStripMenuItem.Size = new Size(243, 22);
|
|
|
|
|
componentsOfComputersToolStripMenuItem.Text = "Компоненты по компьютерам";
|
|
|
|
|
componentsOfComputersToolStripMenuItem.Click += ComputerComponentsToolStripMenuItem_Click;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
// listOrderToolStripMenuItem
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
listOrderToolStripMenuItem.Name = "listOrderToolStripMenuItem";
|
|
|
|
|
listOrderToolStripMenuItem.Size = new Size(243, 22);
|
|
|
|
|
listOrderToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
listOrderToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
// doWorkToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
doWorkToolStripMenuItem.Name = "doWorkToolStripMenuItem";
|
|
|
|
|
doWorkToolStripMenuItem.Size = new Size(92, 20);
|
|
|
|
|
doWorkToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
doWorkToolStripMenuItem.Click += DoWorkToolStripMenuItem_Click;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
2024-02-05 20:36:39 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 27);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowTemplate.Height = 25;
|
|
|
|
|
dataGridView.Size = new Size(817, 411);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(835, 50);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(200, 23);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(835, 113);
|
2024-04-01 20:00:17 +04:00
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(200, 23);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
2024-04-14 16:11:19 +04:00
|
|
|
|
buttonRef.Location = new Point(835, 170);
|
2024-04-01 20:00:17 +04:00
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(200, 23);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += ButtonRef_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
2024-04-16 23:12:48 +04:00
|
|
|
|
// почтаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
почтаToolStripMenuItem.Name = "почтаToolStripMenuItem";
|
|
|
|
|
почтаToolStripMenuItem.Size = new Size(53, 20);
|
|
|
|
|
почтаToolStripMenuItem.Text = "Почта";
|
|
|
|
|
почтаToolStripMenuItem.Click += почтаToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-05 20:36:39 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1047, 450);
|
|
|
|
|
Controls.Add(buttonRef);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Магазин электроники";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
2024-02-05 20:36:39 +04:00
|
|
|
|
|
2024-03-18 18:43:53 +04:00
|
|
|
|
#endregion
|
2024-02-05 20:36:39 +04:00
|
|
|
|
|
2024-03-18 18:43:53 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
2024-04-14 16:11:19 +04:00
|
|
|
|
private ToolStripMenuItem dictionaryToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
|
|
|
|
private ToolStripMenuItem computerToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem computerListToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsOfComputersToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem listOrderToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem clientsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem implementersToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem doWorkToolStripMenuItem;
|
2024-04-16 23:12:48 +04:00
|
|
|
|
private ToolStripMenuItem почтаToolStripMenuItem;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
}
|
2024-02-05 20:36:39 +04:00
|
|
|
|
}
|