2024-02-06 12:37:25 +04:00
|
|
|
|
namespace GiftShopView
|
|
|
|
|
{
|
|
|
|
|
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()
|
|
|
|
|
{
|
2024-05-18 17:53:11 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
изделияToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
поставкиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
продажиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
|
|
|
|
shopReplenishment = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Padding = new Padding(8, 2, 0, 2);
|
|
|
|
|
menuStrip.Size = new Size(1709, 33);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, магазиныToolStripMenuItem, поставкиToolStripMenuItem, продажиToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(139, 29);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(270, 34);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
|
|
|
|
изделияToolStripMenuItem.Size = new Size(270, 34);
|
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// магазиныToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(270, 34);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += МагазиныToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// поставкиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
поставкиToolStripMenuItem.Name = "поставкиToolStripMenuItem";
|
|
|
|
|
поставкиToolStripMenuItem.Size = new Size(270, 34);
|
|
|
|
|
поставкиToolStripMenuItem.Text = "Поставки";
|
|
|
|
|
поставкиToolStripMenuItem.Click += поставкиToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// продажиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
продажиToolStripMenuItem.Name = "продажиToolStripMenuItem";
|
|
|
|
|
продажиToolStripMenuItem.Size = new Size(270, 34);
|
|
|
|
|
продажиToolStripMenuItem.Text = "Продажи";
|
|
|
|
|
продажиToolStripMenuItem.Click += продажиToolStripMenuItem_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(15, 51);
|
|
|
|
|
dataGridView.Margin = new Padding(4);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(1404, 529);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(1444, 84);
|
|
|
|
|
buttonCreateOrder.Margin = new Padding(4);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(236, 51);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1444, 170);
|
|
|
|
|
buttonTakeOrderInWork.Margin = new Padding(4);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(236, 51);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
buttonOrderReady.Location = new Point(1444, 264);
|
|
|
|
|
buttonOrderReady.Margin = new Padding(4);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(236, 51);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(1444, 362);
|
|
|
|
|
buttonIssuedOrder.Margin = new Padding(4);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(236, 51);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
buttonRef.Location = new Point(1444, 445);
|
|
|
|
|
buttonRef.Margin = new Padding(4);
|
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(236, 51);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += ButtonRef_Click;
|
|
|
|
|
//
|
|
|
|
|
// shopReplenishment
|
|
|
|
|
//
|
|
|
|
|
shopReplenishment.Location = new Point(1444, 525);
|
|
|
|
|
shopReplenishment.Margin = new Padding(4);
|
|
|
|
|
shopReplenishment.Name = "shopReplenishment";
|
|
|
|
|
shopReplenishment.Size = new Size(236, 51);
|
|
|
|
|
shopReplenishment.TabIndex = 7;
|
|
|
|
|
shopReplenishment.Text = "Пополнение магазина";
|
|
|
|
|
shopReplenishment.UseVisualStyleBackColor = true;
|
|
|
|
|
shopReplenishment.Click += ShopReplenishment_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-05-18 17:53:11 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(10F, 25F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1709, 589);
|
|
|
|
|
Controls.Add(shopReplenishment);
|
|
|
|
|
Controls.Add(buttonRef);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Margin = new Padding(4);
|
|
|
|
|
Name = "FormMain";
|
|
|
|
|
Text = "Магазин подарков";
|
|
|
|
|
Load += FormMain_Load;
|
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
2024-02-06 12:37:25 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem;
|
2024-05-18 17:53:11 +04:00
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonTakeOrderInWork;
|
|
|
|
|
private Button buttonOrderReady;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
2024-05-18 17:53:11 +04:00
|
|
|
|
private Button shopReplenishment;
|
|
|
|
|
private ToolStripMenuItem поставкиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem продажиToolStripMenuItem;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
}
|
|
|
|
|
}
|