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-04-07 10:17:23 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочники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();
|
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокКомпонентовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчётыToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(1367, 28);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
|
|
|
|
изделияToolStripMenuItem.Size = new Size(224, 26);
|
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
|
|
|
dataGridView.Location = new Point(12, 41);
|
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.RowTemplate.Height = 29;
|
|
|
|
|
dataGridView.Size = new Size(1123, 423);
|
|
|
|
|
dataGridView.TabIndex = 1;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
buttonCreateOrder.Location = new Point(1155, 67);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(189, 41);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
buttonTakeOrderInWork.Location = new Point(1155, 136);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(189, 41);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 3;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonOrderReady
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
buttonOrderReady.Location = new Point(1155, 211);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(189, 41);
|
|
|
|
|
buttonOrderReady.TabIndex = 4;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
buttonIssuedOrder.Location = new Point(1155, 290);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(189, 41);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
buttonRef.Location = new Point(1155, 356);
|
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(189, 41);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += ButtonRef_Click;
|
|
|
|
|
//
|
|
|
|
|
// отчётыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
отчётыToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { списокКомпонентовToolStripMenuItem, компонентыПоИзделиямToolStripMenuItem, списокЗаказовToolStripMenuItem });
|
|
|
|
|
отчётыToolStripMenuItem.Name = "отчётыToolStripMenuItem";
|
|
|
|
|
отчётыToolStripMenuItem.Size = new Size(73, 24);
|
|
|
|
|
отчётыToolStripMenuItem.Text = "Отчёты";
|
|
|
|
|
//
|
|
|
|
|
// списокКомпонентовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Name = "списокКомпонентовToolStripMenuItem";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Text = "Список компонентов";
|
|
|
|
|
списокКомпонентовToolStripMenuItem.Click += new System.EventHandler(this.ComponentsToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоИзделиямToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Name = "компонентыПоИзделиямToolStripMenuItem";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Text = "Компоненты по изделиям";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Click += new System.EventHandler(this.ComponentGiftsToolStripMenuItem_Click);
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += new System.EventHandler(this.OrdersToolStripMenuItem_Click);
|
2024-02-06 12:37:25 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
2024-04-07 10:17:23 +04:00
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1367, 471);
|
|
|
|
|
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-06 12:37:25 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#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 buttonRef;
|
2024-04-07 10:17:23 +04:00
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокКомпонентовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоИзделиямToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
2024-02-06 12:37:25 +04:00
|
|
|
|
}
|
|
|
|
|
}
|