2023-03-31 19:55:55 +04:00
|
|
|
|
namespace GiftShopView
|
|
|
|
|
{
|
2023-05-14 14:10:25 +04:00
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Required designer variable.
|
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
2023-03-31 19:55:55 +04:00
|
|
|
|
|
2023-05-14 14:10:25 +04:00
|
|
|
|
/// <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);
|
|
|
|
|
}
|
2023-03-31 19:55:55 +04:00
|
|
|
|
|
2023-05-14 14:10:25 +04:00
|
|
|
|
#region Windows Form Designer generated code
|
2023-03-31 19:55:55 +04:00
|
|
|
|
|
2023-05-14 14:10:25 +04:00
|
|
|
|
/// <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();
|
|
|
|
|
клиентыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
исполнителиToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
отчётыToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокКомпонентовToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
списокЗаказовToolStripMenuItem = new ToolStripMenuItem();
|
2023-05-15 08:33:19 +04:00
|
|
|
|
запускРаботToolStripMenuItem = new ToolStripMenuItem();
|
2023-06-03 01:27:48 +04:00
|
|
|
|
письмаToolStripMenuItem = new ToolStripMenuItem();
|
2023-05-14 14:10:25 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
|
|
|
|
buttonCreateOrder = new Button();
|
|
|
|
|
buttonIssuedOrder = new Button();
|
|
|
|
|
buttonRef = new Button();
|
2023-06-03 01:27:48 +04:00
|
|
|
|
создатьБекапToolStripMenuItem = new ToolStripMenuItem();
|
2023-05-14 14:10:25 +04:00
|
|
|
|
menuStrip.SuspendLayout();
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// menuStrip
|
|
|
|
|
//
|
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
2023-06-03 01:27:48 +04:00
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, отчётыToolStripMenuItem, запускРаботToolStripMenuItem, письмаToolStripMenuItem, создатьБекапToolStripMenuItem });
|
2023-05-14 14:10:25 +04:00
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Size = new Size(1367, 28);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
|
|
|
|
//
|
|
|
|
|
// справочникиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, клиентыToolStripMenuItem, исполнителиToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2023-06-03 01:27:48 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(224, 26);
|
2023-05-14 14:10:25 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// изделияToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
изделияToolStripMenuItem.Name = "изделияToolStripMenuItem";
|
2023-06-03 01:27:48 +04:00
|
|
|
|
изделияToolStripMenuItem.Size = new Size(224, 26);
|
2023-05-14 14:10:25 +04:00
|
|
|
|
изделияToolStripMenuItem.Text = "Изделия";
|
|
|
|
|
изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// клиентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem";
|
2023-06-03 01:27:48 +04:00
|
|
|
|
клиентыToolStripMenuItem.Size = new Size(224, 26);
|
2023-05-14 14:10:25 +04:00
|
|
|
|
клиентыToolStripMenuItem.Text = "Клиенты";
|
|
|
|
|
клиентыToolStripMenuItem.Click += ClientsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// исполнителиToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
исполнителиToolStripMenuItem.Name = "исполнителиToolStripMenuItem";
|
2023-06-03 01:27:48 +04:00
|
|
|
|
исполнителиToolStripMenuItem.Size = new Size(224, 26);
|
2023-05-14 14:10:25 +04:00
|
|
|
|
исполнителиToolStripMenuItem.Text = "Исполнители";
|
|
|
|
|
исполнителиToolStripMenuItem.Click += исполнителиToolStripMenuItem_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 += ComponentsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// компонентыПоИзделиямToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Name = "компонентыПоИзделиямToolStripMenuItem";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Text = "Компоненты по изделиям";
|
|
|
|
|
компонентыПоИзделиямToolStripMenuItem.Click += ComponentGiftsToolStripMenuItem_Click;
|
|
|
|
|
//
|
|
|
|
|
// списокЗаказовToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
списокЗаказовToolStripMenuItem.Name = "списокЗаказовToolStripMenuItem";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Size = new Size(276, 26);
|
|
|
|
|
списокЗаказовToolStripMenuItem.Text = "Список заказов";
|
|
|
|
|
списокЗаказовToolStripMenuItem.Click += OrdersToolStripMenuItem_Click;
|
|
|
|
|
//
|
2023-05-15 08:33:19 +04:00
|
|
|
|
// запускРаботToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
запускРаботToolStripMenuItem.Name = "запускРаботToolStripMenuItem";
|
|
|
|
|
запускРаботToolStripMenuItem.Size = new Size(114, 24);
|
|
|
|
|
запускРаботToolStripMenuItem.Text = "Запуск работ";
|
|
|
|
|
запускРаботToolStripMenuItem.Click += запускРаботToolStripMenuItem_Click;
|
|
|
|
|
//
|
2023-06-03 01:27:48 +04:00
|
|
|
|
// письмаToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
письмаToolStripMenuItem.Name = "письмаToolStripMenuItem";
|
|
|
|
|
письмаToolStripMenuItem.Size = new Size(77, 24);
|
|
|
|
|
письмаToolStripMenuItem.Text = "Письма";
|
|
|
|
|
письмаToolStripMenuItem.Click += письмаToolStripMenuItem_Click;
|
|
|
|
|
//
|
2023-05-14 14:10:25 +04:00
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
|
|
|
|
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;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Location = new Point(1155, 90);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(189, 57);
|
|
|
|
|
buttonCreateOrder.TabIndex = 2;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
|
|
|
|
buttonIssuedOrder.Location = new Point(1155, 228);
|
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
|
|
|
|
buttonIssuedOrder.Size = new Size(189, 57);
|
|
|
|
|
buttonIssuedOrder.TabIndex = 5;
|
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonRef
|
|
|
|
|
//
|
|
|
|
|
buttonRef.Location = new Point(1155, 356);
|
|
|
|
|
buttonRef.Name = "buttonRef";
|
|
|
|
|
buttonRef.Size = new Size(189, 57);
|
|
|
|
|
buttonRef.TabIndex = 6;
|
|
|
|
|
buttonRef.Text = "Обновить список";
|
|
|
|
|
buttonRef.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonRef.Click += ButtonRef_Click;
|
|
|
|
|
//
|
2023-06-03 01:27:48 +04:00
|
|
|
|
// создатьБекапToolStripMenuItem
|
2023-05-14 14:10:25 +04:00
|
|
|
|
//
|
2023-06-03 01:27:48 +04:00
|
|
|
|
создатьБекапToolStripMenuItem.Name = "создатьБекапToolStripMenuItem";
|
|
|
|
|
создатьБекапToolStripMenuItem.Size = new Size(123, 24);
|
|
|
|
|
создатьБекапToolStripMenuItem.Text = "Создать бекап";
|
|
|
|
|
создатьБекапToolStripMenuItem.Click += создатьБекапToolStripMenuItem_Click;
|
2023-05-14 14:10:25 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
|
|
|
ClientSize = new Size(1367, 471);
|
|
|
|
|
Controls.Add(buttonRef);
|
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
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();
|
|
|
|
|
}
|
2023-03-31 19:55:55 +04:00
|
|
|
|
|
2023-05-14 14:10:25 +04:00
|
|
|
|
#endregion
|
2023-03-31 19:55:55 +04:00
|
|
|
|
|
2023-05-14 14:10:25 +04:00
|
|
|
|
private MenuStrip menuStrip;
|
|
|
|
|
private ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem изделияToolStripMenuItem;
|
|
|
|
|
private DataGridView dataGridView;
|
|
|
|
|
private Button buttonCreateOrder;
|
|
|
|
|
private Button buttonIssuedOrder;
|
|
|
|
|
private Button buttonRef;
|
|
|
|
|
private ToolStripMenuItem отчётыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокКомпонентовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem компонентыПоИзделиямToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem списокЗаказовToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem клиентыToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem исполнителиToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem запускРаботToolStripMenuItem;
|
2023-05-15 08:33:19 +04:00
|
|
|
|
private ToolStripMenuItem письмаToolStripMenuItem;
|
2023-06-03 01:27:48 +04:00
|
|
|
|
private ToolStripMenuItem создатьБекапToolStripMenuItem;
|
2023-05-14 14:10:25 +04:00
|
|
|
|
}
|
2023-03-31 19:55:55 +04:00
|
|
|
|
}
|