2024-02-05 20:36:39 +04:00
|
|
|
|
namespace ComputersShopView
|
|
|
|
|
{
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
|
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();
|
|
|
|
|
computerToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ClientsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
reportsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
listComputersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
componentsComputersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
listOrdersToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { dictionaryToolStripMenuItem, reportsToolStripMenuItem });
|
|
|
|
|
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-01 20:00:17 +04:00
|
|
|
|
dictionaryToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { componentsToolStripMenuItem, computerToolStripMenuItem, ClientsToolStripMenuItem });
|
|
|
|
|
dictionaryToolStripMenuItem.Name = "dictionaryToolStripMenuItem";
|
|
|
|
|
dictionaryToolStripMenuItem.Size = new Size(94, 20);
|
|
|
|
|
dictionaryToolStripMenuItem.Text = "Cправочники";
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// computerToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
computerToolStripMenuItem.Name = "computerToolStripMenuItem";
|
|
|
|
|
computerToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
computerToolStripMenuItem.Text = "Компьютеры";
|
|
|
|
|
computerToolStripMenuItem.Click += ComputersToolStripMenuItem_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// componentsToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
componentsToolStripMenuItem.Name = "componentsToolStripMenuItem";
|
|
|
|
|
componentsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
componentsToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
componentsToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ClientsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ClientsToolStripMenuItem.Name = "ClientsToolStripMenuItem";
|
|
|
|
|
ClientsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
ClientsToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
ClientsToolStripMenuItem.Click += clientsToolStripMenuItem_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
2024-03-18 18:43:53 +04:00
|
|
|
|
// reportsToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
reportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { listComputersToolStripMenuItem, componentsComputersToolStripMenuItem, listOrdersToolStripMenuItem });
|
|
|
|
|
reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
|
|
|
|
|
reportsToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
reportsToolStripMenuItem.Text = "Отчёты";
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
|
|
|
|
// listComputersToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
listComputersToolStripMenuItem.Name = "listComputersToolStripMenuItem";
|
|
|
|
|
listComputersToolStripMenuItem.Size = new Size(224, 22);
|
|
|
|
|
listComputersToolStripMenuItem.Text = "Список компьютеров";
|
|
|
|
|
listComputersToolStripMenuItem.Click += ComponentsDocxToolStripMenuItem_Click;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
|
|
|
|
// componentsComputersToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
componentsComputersToolStripMenuItem.Name = "componentsComputersToolStripMenuItem";
|
|
|
|
|
componentsComputersToolStripMenuItem.Size = new Size(224, 22);
|
|
|
|
|
componentsComputersToolStripMenuItem.Text = "Компоненты компьютеров";
|
|
|
|
|
componentsComputersToolStripMenuItem.Click += ComputerComponentsToolStripMenuItem_Click;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
//
|
|
|
|
|
// listOrdersToolStripMenuItem
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
listOrdersToolStripMenuItem.Name = "listOrdersToolStripMenuItem";
|
|
|
|
|
listOrdersToolStripMenuItem.Size = new Size(224, 22);
|
|
|
|
|
listOrdersToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
listOrdersToolStripMenuItem.Click += OrdersToolStripMenuItem_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
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
buttonTakeOrderInWork.Location = new Point(835, 101);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(200, 23);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
buttonOrderReady.Location = new Point(835, 156);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(200, 23);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-04-01 20:00:17 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(835, 212);
|
|
|
|
|
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-01 20:00:17 +04:00
|
|
|
|
buttonRef.Location = new Point(835, 269);
|
|
|
|
|
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
|
|
|
|
//
|
|
|
|
|
// 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(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
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
|
|
|
|
private void ReportsToolStripMenuItem_Click(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
2024-02-05 20:36:39 +04:00
|
|
|
|
|
2024-03-18 18:43:53 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
2024-02-18 13:58:39 +04:00
|
|
|
|
private ToolStripMenuItem dictionaryToolStripMenuItem;
|
2024-02-05 20:36:39 +04:00
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
|
|
|
|
private ToolStripMenuItem computerToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsToolStripMenuItem;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
private ToolStripMenuItem reportsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem listComputersToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem componentsComputersToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem listOrdersToolStripMenuItem;
|
2024-04-01 20:00:17 +04:00
|
|
|
|
private ToolStripMenuItem ClientsToolStripMenuItem;
|
2024-03-18 18:43:53 +04:00
|
|
|
|
}
|
2024-02-05 20:36:39 +04:00
|
|
|
|
}
|