2024-03-06 09:21:43 +04:00
|
|
|
|
namespace GarmentFactoryView
|
|
|
|
|
{
|
|
|
|
|
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();
|
|
|
|
|
buttonCompletedOrder = new Button();
|
|
|
|
|
buttonRefresh = new Button();
|
|
|
|
|
menuStrip1 = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
текстилиToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-11 13:43:22 +04:00
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-03 10:30:37 +04:00
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
textilesToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
textileComponentsToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
ordersToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-06 09:21:43 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
menuStrip1.SuspendLayout();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(0, 31);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
2024-04-11 13:43:22 +04:00
|
|
|
|
dataGridView.Size = new Size(1112, 425);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
2024-04-11 13:43:22 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(1165, 79);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(180, 40);
|
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
2024-04-11 13:43:22 +04:00
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1165, 146);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(180, 40);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
2024-04-11 13:43:22 +04:00
|
|
|
|
buttonOrderReady.Location = new Point(1165, 216);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(180, 40);
|
|
|
|
|
buttonOrderReady.TabIndex = 3;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCompletedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCompletedOrder.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
2024-04-11 13:43:22 +04:00
|
|
|
|
buttonCompletedOrder.Location = new Point(1165, 284);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
buttonCompletedOrder.Name = "buttonCompletedOrder";
|
|
|
|
|
buttonCompletedOrder.Size = new Size(180, 40);
|
|
|
|
|
buttonCompletedOrder.TabIndex = 4;
|
|
|
|
|
buttonCompletedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonCompletedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCompletedOrder.Click += ButtonCompletedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRefresh
|
|
|
|
|
//
|
|
|
|
|
buttonRefresh.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point);
|
2024-04-11 13:43:22 +04:00
|
|
|
|
buttonRefresh.Location = new Point(1165, 362);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
buttonRefresh.Name = "buttonRefresh";
|
|
|
|
|
buttonRefresh.Size = new Size(180, 40);
|
|
|
|
|
buttonRefresh.TabIndex = 5;
|
|
|
|
|
buttonRefresh.Text = "Обновить список";
|
|
|
|
|
buttonRefresh.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRefresh.Click += ButtonRefresh_Click;
|
|
|
|
|
//
|
|
|
|
|
// menuStrip1
|
|
|
|
|
//
|
|
|
|
|
menuStrip1.ImageScalingSize = new Size(20, 20);
|
2024-04-03 10:30:37 +04:00
|
|
|
|
menuStrip1.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчётыToolStripMenuItem });
|
2024-03-06 09:21:43 +04:00
|
|
|
|
menuStrip1.Location = new Point(0, 0);
|
|
|
|
|
menuStrip1.Name = "menuStrip1";
|
2024-04-11 13:43:22 +04:00
|
|
|
|
menuStrip1.Size = new Size(1380, 28);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
menuStrip1.TabIndex = 7;
|
|
|
|
|
menuStrip1.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-04-11 13:43:22 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, текстилиToolStripMenuItem, клиентыToolStripMenuItem });
|
2024-03-06 09:21:43 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-04-11 13:43:22 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += компонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// текстилиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
текстилиToolStripMenuItem.Name = "текстилиToolStripMenuItem";
|
2024-04-11 13:43:22 +04:00
|
|
|
|
текстилиToolStripMenuItem.Size = new Size(224, 26);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
текстилиToolStripMenuItem.Text = "Текстили";
|
|
|
|
|
текстилиToolStripMenuItem.Click += текстилиToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-11 13:43:22 +04:00
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(224, 26);
|
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += клиентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-03 10:30:37 +04:00
|
|
|
|
// отчётыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { textilesToolStripMenuItem, textileComponentsToolStripMenuItem, ordersToolStripMenuItem });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(73, 24);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
|
|
|
|
//
|
|
|
|
|
// textilesToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
textilesToolStripMenuItem.Name = "textilesToolStripMenuItem";
|
|
|
|
|
textilesToolStripMenuItem.Size = new Size(274, 26);
|
|
|
|
|
textilesToolStripMenuItem.Text = "Текстили";
|
|
|
|
|
textilesToolStripMenuItem.Click += TextilesToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// textileComponentsToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
textileComponentsToolStripMenuItem.Name = "textileComponentsToolStripMenuItem";
|
|
|
|
|
textileComponentsToolStripMenuItem.Size = new Size(274, 26);
|
|
|
|
|
textileComponentsToolStripMenuItem.Text = "Текстили с компонентами";
|
|
|
|
|
textileComponentsToolStripMenuItem.Click += ComponentTextilesToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// ordersToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
ordersToolStripMenuItem.Name = "ordersToolStripMenuItem";
|
|
|
|
|
ordersToolStripMenuItem.Size = new Size(274, 26);
|
|
|
|
|
ordersToolStripMenuItem.Text = "Заказы";
|
|
|
|
|
ordersToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-06 09:21:43 +04:00
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-04-11 13:43:22 +04:00
|
|
|
|
ClientSize = new Size(1380, 453);
|
2024-03-06 09:21:43 +04:00
|
|
|
|
Controls.Add(menuStrip1);
|
|
|
|
|
Controls.Add(buttonRefresh);
|
|
|
|
|
Controls.Add(buttonCompletedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
MainMenuStrip = menuStrip1;
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Швейная фабрика";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
menuStrip1.ResumeLayout(false);
|
|
|
|
|
menuStrip1.PerformLayout();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonCompletedOrder;
|
|
|
|
|
private Button buttonRefresh;
|
|
|
|
|
private MenuStrip menuStrip1;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem текстилиToolStripMenuItem;
|
2024-04-03 10:30:37 +04:00
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem textilesToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem textileComponentsToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem ordersToolStripMenuItem;
|
2024-04-11 13:43:22 +04:00
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
2024-03-06 09:21:43 +04:00
|
|
|
|
}
|
|
|
|
|
}
|