2024-03-05 22:19:49 +04:00
|
|
|
|
namespace PrecastConcretePlantView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-30 23:49:44 +04:00
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-10 23:37:01 +04:00
|
|
|
|
продажаИзделийToolStripMenuItem = new ToolStripMenuItem();
|
2024-03-05 22:19:49 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
2024-04-10 23:37:01 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, пополнениеМагазинаToolStripMenuItem, продажаИзделийToolStripMenuItem });
|
2024-03-05 22:19:49 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(1257, 28);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-03-30 23:49:44 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, магазиныToolStripMenuItem });
|
2024-03-05 22:19:49 +04:00
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-04-10 23:37:01 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(182, 26);
|
2024-03-05 22:19:49 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
2024-04-10 23:37:01 +04:00
|
|
|
|
изделияToolStripMenuItem.Size = new Size(182, 26);
|
2024-03-05 22:19:49 +04:00
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-30 23:49:44 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
2024-04-10 23:37:01 +04:00
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(182, 26);
|
2024-03-30 23:49:44 +04:00
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += МагазиныToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// пополнениеМагазинаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Name = "пополнениеМагазинаToolStripMenuItem";
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Size = new Size(182, 24);
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Text = "Пополнение магазина";
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Click += ПополнениеМагазинаToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-04-10 23:37:01 +04:00
|
|
|
|
// продажаИзделийToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
продажаИзделийToolStripMenuItem.Name = "продажаИзделийToolStripMenuItem";
|
|
|
|
|
продажаИзделийToolStripMenuItem.Size = new Size(149, 24);
|
|
|
|
|
продажаИзделийToolStripMenuItem.Text = "Продажа изделий";
|
|
|
|
|
продажаИзделийToolStripMenuItem.Click += продажаИзделийToolStripMenuItem_Click;
|
|
|
|
|
//
|
2024-03-05 22:19:49 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 45);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
|
|
|
dataGridView.Size = new Size(1031, 412);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Location = new Point(1068, 85);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(177, 40);
|
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1068, 143);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(177, 40);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
|
|
|
|
buttonOrderReady.Location = new Point(1068, 206);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(177, 40);
|
|
|
|
|
buttonOrderReady.TabIndex = 3;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Location = new Point(1068, 265);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(177, 40);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
|
|
|
|
buttonUpd.Location = new Point(1068, 324);
|
|
|
|
|
buttonUpd.Name = "buttonUpd";
|
|
|
|
|
buttonUpd.Size = new Size(177, 40);
|
|
|
|
|
buttonUpd.TabIndex = 5;
|
|
|
|
|
buttonUpd.Text = "Обновить список";
|
|
|
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpd.Click += ButtonUpd_Click;
|
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1257, 469);
|
|
|
|
|
Controls.Add(buttonUpd);
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
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 buttonUpd;
|
2024-03-30 23:49:44 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem пополнениеМагазинаToolStripMenuItem;
|
2024-04-10 23:37:01 +04:00
|
|
|
|
private ToolStripMenuItem продажаИзделийToolStripMenuItem;
|
2024-03-05 22:19:49 +04:00
|
|
|
|
}
|
|
|
|
|
}
|