2024-02-26 10:12:21 +04:00
|
|
|
|
namespace FurnitureAssemblyView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
2024-02-26 10:30:01 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
2024-02-26 10:12:21 +04:00
|
|
|
|
toolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
workPieceToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
furnitureToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-08 14:11:47 +04:00
|
|
|
|
reportsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
workPiecesToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
workPieceFurnituresToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-10 22:00:13 +04:00
|
|
|
|
workWithClientsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
clientsToolStripMenuItem = new ToolStripMenuItem();
|
2024-02-26 10:12:21 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
2024-02-26 10:30:01 +04:00
|
|
|
|
menuStrip.SuspendLayout();
|
2024-02-26 10:12:21 +04:00
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-04-08 14:11:47 +04:00
|
|
|
|
dataGridView.Location = new Point(10, 27);
|
|
|
|
|
dataGridView.Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
2024-04-08 14:11:47 +04:00
|
|
|
|
dataGridView.Size = new Size(820, 302);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(887, 50);
|
|
|
|
|
buttonCreateOrder.Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonCreateOrder.Size = new Size(206, 34);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonTakeOrderInWork.Location = new Point(887, 107);
|
|
|
|
|
buttonTakeOrderInWork.Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonTakeOrderInWork.Size = new Size(206, 36);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonOrderReady.Location = new Point(887, 165);
|
|
|
|
|
buttonOrderReady.Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonOrderReady.Size = new Size(206, 31);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonOrderReady.TabIndex = 3;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(887, 217);
|
|
|
|
|
buttonIssuedOrder.Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonIssuedOrder.Size = new Size(206, 33);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonRefresh.Location = new Point(887, 269);
|
|
|
|
|
buttonRefresh.Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
buttonRefresh.Size = new Size(206, 29);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
buttonRefresh.TabIndex = 5;
|
|
|
|
|
buttonRefresh.Text = "Обновить";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += ButtonRef_Click;
|
|
|
|
|
//
|
2024-02-26 10:30:01 +04:00
|
|
|
|
// menuStrip
|
2024-02-26 10:12:21 +04:00
|
|
|
|
//
|
2024-02-26 10:30:01 +04:00
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
2024-05-10 22:00:13 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { toolStripMenuItem, reportsToolStripMenuItem, workWithClientsToolStripMenuItem });
|
2024-02-26 10:30:01 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
menuStrip.Padding = new Padding(5, 2, 0, 2);
|
|
|
|
|
menuStrip.Size = new Size(1135, 24);
|
2024-02-26 10:30:01 +04:00
|
|
|
|
menuStrip.TabIndex = 6;
|
|
|
|
|
menuStrip.Text = "menuStrip";
|
2024-02-26 10:12:21 +04:00
|
|
|
|
//
|
|
|
|
|
// toolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
toolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { workPieceToolStripMenuItem, furnitureToolStripMenuItem });
|
|
|
|
|
toolStripMenuItem.Name = "toolStripMenuItem";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
toolStripMenuItem.Size = new Size(94, 20);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
toolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// workPieceToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
workPieceToolStripMenuItem.Name = "workPieceToolStripMenuItem";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
workPieceToolStripMenuItem.Size = new Size(130, 22);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
workPieceToolStripMenuItem.Text = "Заготовки";
|
|
|
|
|
workPieceToolStripMenuItem.Click += WorkPieceToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// furnitureToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
furnitureToolStripMenuItem.Name = "furnitureToolStripMenuItem";
|
2024-04-08 14:11:47 +04:00
|
|
|
|
furnitureToolStripMenuItem.Size = new Size(130, 22);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
furnitureToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
furnitureToolStripMenuItem.Click += FurnitureToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
// reportsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
reportsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { workPiecesToolStripMenuItem, workPieceFurnituresToolStripMenuItem, ordersToolStripMenuItem });
|
|
|
|
|
reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
|
|
|
|
|
reportsToolStripMenuItem.Size = new Size(60, 20);
|
|
|
|
|
reportsToolStripMenuItem.Text = "Отчёты";
|
|
|
|
|
//
|
|
|
|
|
// workPiecesToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
workPiecesToolStripMenuItem.Name = "workPiecesToolStripMenuItem";
|
|
|
|
|
workPiecesToolStripMenuItem.Size = new Size(203, 22);
|
|
|
|
|
workPiecesToolStripMenuItem.Text = "Список заготовок";
|
|
|
|
|
workPiecesToolStripMenuItem.Click += WorkPiecesToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// workPieceFurnituresToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
workPieceFurnituresToolStripMenuItem.Name = "workPieceFurnituresToolStripMenuItem";
|
|
|
|
|
workPieceFurnituresToolStripMenuItem.Size = new Size(203, 22);
|
|
|
|
|
workPieceFurnituresToolStripMenuItem.Text = "Заготовки по изделиям";
|
|
|
|
|
workPieceFurnituresToolStripMenuItem.Click += WorkPieceFurnituresToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ordersToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
|
|
|
|
|
ordersToolStripMenuItem.Size = new Size(203, 22);
|
|
|
|
|
ordersToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-05-10 22:00:13 +04:00
|
|
|
|
// workWithClientsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
workWithClientsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { clientsToolStripMenuItem });
|
|
|
|
|
workWithClientsToolStripMenuItem.Name = "workWithClientsToolStripMenuItem";
|
|
|
|
|
workWithClientsToolStripMenuItem.Size = new Size(129, 20);
|
|
|
|
|
workWithClientsToolStripMenuItem.Text = "Работа с клиентами";
|
|
|
|
|
//
|
|
|
|
|
// clientsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
clientsToolStripMenuItem.Name = "clientsToolStripMenuItem";
|
|
|
|
|
clientsToolStripMenuItem.Size = new Size(180, 22);
|
|
|
|
|
clientsToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
clientsToolStripMenuItem.Click += ClientsToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-02-26 10:12:21 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-04-08 14:11:47 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-04-08 14:11:47 +04:00
|
|
|
|
ClientSize = new Size(1135, 338);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
2024-02-26 10:30:01 +04:00
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
2024-04-08 14:11:47 +04:00
|
|
|
|
Margin = new Padding(3, 2, 3, 2);
|
2024-02-26 10:12:21 +04:00
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Сборка мебели";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
2024-02-26 10:30:01 +04:00
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
2024-02-26 10:12:21 +04:00
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRefresh;
|
2024-02-26 10:30:01 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
2024-02-26 10:12:21 +04:00
|
|
|
|
private ToolStripMenuItem toolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem workPieceToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem furnitureToolStripMenuItem;
|
2024-04-08 14:11:47 +04:00
|
|
|
|
private ToolStripMenuItem reportsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem workPiecesToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem workPieceFurnituresToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ordersToolStripMenuItem;
|
2024-05-10 22:00:13 +04:00
|
|
|
|
private ToolStripMenuItem workWithClientsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem clientsToolStripMenuItem;
|
2024-02-26 10:12:21 +04:00
|
|
|
|
}
|
|
|
|
|
}
|