2024-05-12 14:38:32 +04:00
|
|
|
|
namespace SoftwareInstallationView
|
2024-04-07 16:54:02 +04:00
|
|
|
|
{
|
|
|
|
|
partial class FormMain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2024-05-12 14:38:32 +04:00
|
|
|
|
/// Обязательная переменная конструктора.
|
2024-04-07 16:54:02 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-05-12 14:38:32 +04:00
|
|
|
|
/// Освободить все используемые ресурсы.
|
2024-04-07 16:54:02 +04:00
|
|
|
|
/// </summary>
|
2024-05-12 14:38:32 +04:00
|
|
|
|
/// <param name="disposing">истинно, если управляемый ресурс должен быть удален; иначе ложно.</param>
|
2024-04-07 16:54:02 +04:00
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
{
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
{
|
|
|
|
|
components.Dispose();
|
|
|
|
|
}
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-12 14:38:32 +04:00
|
|
|
|
#region Код, автоматически созданный конструктором форм Windows
|
2024-04-07 16:54:02 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-05-12 14:38:32 +04:00
|
|
|
|
/// Требуемый метод для поддержки конструктора — не изменяйте
|
|
|
|
|
/// содержимое этого метода с помощью редактора кода.
|
2024-04-07 16:54:02 +04:00
|
|
|
|
/// </summary>
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
2024-05-12 14:38:32 +04:00
|
|
|
|
menuStrip = new MenuStrip();
|
|
|
|
|
справочникиToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-07 16:54:02 +04:00
|
|
|
|
компонентыToolStripMenuItem = new ToolStripMenuItem();
|
2024-05-12 14:38:32 +04:00
|
|
|
|
мороженоеToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
магазиныToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem = new ToolStripMenuItem();
|
|
|
|
|
продажаМороженогоToolStripMenuItem = new ToolStripMenuItem();
|
2024-04-07 16:54:02 +04:00
|
|
|
|
buttonIssuedOrder = new Button();
|
2024-05-12 14:38:32 +04:00
|
|
|
|
buttonOrderReady = new Button();
|
|
|
|
|
buttonTakeOrderInWork = new Button();
|
|
|
|
|
buttonCreateOrder = new Button();
|
2024-04-07 17:05:30 +04:00
|
|
|
|
dataGridView = new DataGridView();
|
2024-05-12 14:38:32 +04:00
|
|
|
|
buttonUpd = new Button();
|
|
|
|
|
menuStrip.SuspendLayout();
|
2024-04-07 16:54:02 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit();
|
|
|
|
|
SuspendLayout();
|
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// menuStrip
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
menuStrip.ImageScalingSize = new Size(20, 20);
|
|
|
|
|
menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, пополнениеМагазинаToolStripMenuItem, продажаМороженогоToolStripMenuItem });
|
|
|
|
|
menuStrip.Location = new Point(0, 0);
|
|
|
|
|
menuStrip.Name = "menuStrip";
|
|
|
|
|
menuStrip.Padding = new Padding(8, 3, 0, 3);
|
|
|
|
|
menuStrip.Size = new Size(1178, 30);
|
|
|
|
|
menuStrip.TabIndex = 0;
|
|
|
|
|
menuStrip.Text = "menuStrip1";
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// справочникиToolStripMenuItem
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, мороженоеToolStripMenuItem, магазиныToolStripMenuItem });
|
|
|
|
|
справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem";
|
|
|
|
|
справочникиToolStripMenuItem.Size = new Size(117, 24);
|
|
|
|
|
справочникиToolStripMenuItem.Text = "Справочники";
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
|
|
|
|
// компонентыToolStripMenuItem
|
|
|
|
|
//
|
|
|
|
|
компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem";
|
2024-05-12 14:38:32 +04:00
|
|
|
|
компонентыToolStripMenuItem.Size = new Size(182, 26);
|
2024-04-07 16:54:02 +04:00
|
|
|
|
компонентыToolStripMenuItem.Text = "Компоненты";
|
2024-05-12 14:38:32 +04:00
|
|
|
|
компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// мороженоеToolStripMenuItem
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
мороженоеToolStripMenuItem.Name = "мороженоеToolStripMenuItem";
|
|
|
|
|
мороженоеToolStripMenuItem.Size = new Size(182, 26);
|
|
|
|
|
мороженоеToolStripMenuItem.Text = "ПО";
|
|
|
|
|
мороженоеToolStripMenuItem.Click += МороженоеToolStripMenuItem_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// магазиныToolStripMenuItem
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem";
|
|
|
|
|
магазиныToolStripMenuItem.Size = new Size(182, 26);
|
|
|
|
|
магазиныToolStripMenuItem.Text = "Магазины";
|
|
|
|
|
магазиныToolStripMenuItem.Click += МагазиныToolStripMenuItem_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// пополнениеМагазинаToolStripMenuItem
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Name = "пополнениеМагазинаToolStripMenuItem";
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Size = new Size(182, 24);
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Text = "Пополнение магазина";
|
|
|
|
|
пополнениеМагазинаToolStripMenuItem.Click += ПополнениеМагазинаToolStripMenuItem_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// продажаМороженогоToolStripMenuItem
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
продажаМороженогоToolStripMenuItem.Name = "продажаМороженогоToolStripMenuItem";
|
|
|
|
|
продажаМороженогоToolStripMenuItem.Size = new Size(91, 24);
|
|
|
|
|
продажаМороженогоToolStripMenuItem.Text = "Продажа ";
|
|
|
|
|
продажаМороженогоToolStripMenuItem.Click += продажаМороженогоToolStripMenuItem_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
|
|
|
|
// buttonIssuedOrder
|
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
buttonIssuedOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonIssuedOrder.Location = new Point(965, 308);
|
|
|
|
|
buttonIssuedOrder.Margin = new Padding(5, 4, 5, 4);
|
2024-04-07 16:54:02 +04:00
|
|
|
|
buttonIssuedOrder.Name = "buttonIssuedOrder";
|
2024-05-12 14:38:32 +04:00
|
|
|
|
buttonIssuedOrder.Size = new Size(199, 36);
|
2024-04-07 17:05:30 +04:00
|
|
|
|
buttonIssuedOrder.TabIndex = 4;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
buttonIssuedOrder.Text = "Заказ выдан";
|
|
|
|
|
buttonIssuedOrder.UseVisualStyleBackColor = true;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
buttonIssuedOrder.Click += ButtonIssuedOrder_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
// buttonOrderReady
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
buttonOrderReady.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonOrderReady.Location = new Point(965, 228);
|
|
|
|
|
buttonOrderReady.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonOrderReady.Name = "buttonOrderReady";
|
|
|
|
|
buttonOrderReady.Size = new Size(199, 36);
|
|
|
|
|
buttonOrderReady.TabIndex = 3;
|
|
|
|
|
buttonOrderReady.Text = "Заказ готов";
|
|
|
|
|
buttonOrderReady.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonOrderReady.Click += ButtonOrderReady_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonTakeOrderInWork
|
|
|
|
|
//
|
|
|
|
|
buttonTakeOrderInWork.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonTakeOrderInWork.Location = new Point(965, 156);
|
|
|
|
|
buttonTakeOrderInWork.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonTakeOrderInWork.Name = "buttonTakeOrderInWork";
|
|
|
|
|
buttonTakeOrderInWork.Size = new Size(199, 36);
|
|
|
|
|
buttonTakeOrderInWork.TabIndex = 2;
|
|
|
|
|
buttonTakeOrderInWork.Text = "Отдать на выполнение";
|
|
|
|
|
buttonTakeOrderInWork.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click;
|
|
|
|
|
//
|
|
|
|
|
// buttonCreateOrder
|
|
|
|
|
//
|
|
|
|
|
buttonCreateOrder.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonCreateOrder.Location = new Point(965, 77);
|
|
|
|
|
buttonCreateOrder.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonCreateOrder.Name = "buttonCreateOrder";
|
|
|
|
|
buttonCreateOrder.Size = new Size(199, 36);
|
|
|
|
|
buttonCreateOrder.TabIndex = 1;
|
|
|
|
|
buttonCreateOrder.Text = "Создать заказ";
|
|
|
|
|
buttonCreateOrder.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonCreateOrder.Click += ButtonCreateOrder_Click;
|
2024-04-07 17:05:30 +04:00
|
|
|
|
//
|
|
|
|
|
// dataGridView
|
|
|
|
|
//
|
2024-05-12 14:38:32 +04:00
|
|
|
|
dataGridView.AllowUserToAddRows = false;
|
|
|
|
|
dataGridView.AllowUserToDeleteRows = false;
|
|
|
|
|
dataGridView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
|
|
|
dataGridView.BackgroundColor = SystemColors.ControlLightLight;
|
2024-04-07 17:05:30 +04:00
|
|
|
|
dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
dataGridView.Location = new Point(0, 36);
|
|
|
|
|
dataGridView.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
dataGridView.MultiSelect = false;
|
2024-04-07 17:05:30 +04:00
|
|
|
|
dataGridView.Name = "dataGridView";
|
|
|
|
|
dataGridView.ReadOnly = true;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
dataGridView.RowHeadersVisible = false;
|
2024-04-07 17:05:30 +04:00
|
|
|
|
dataGridView.RowHeadersWidth = 51;
|
|
|
|
|
dataGridView.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
dataGridView.Size = new Size(944, 387);
|
|
|
|
|
dataGridView.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// buttonUpd
|
|
|
|
|
//
|
|
|
|
|
buttonUpd.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
|
|
|
buttonUpd.Location = new Point(965, 387);
|
|
|
|
|
buttonUpd.Margin = new Padding(5, 4, 5, 4);
|
|
|
|
|
buttonUpd.Name = "buttonUpd";
|
|
|
|
|
buttonUpd.Size = new Size(199, 36);
|
|
|
|
|
buttonUpd.TabIndex = 5;
|
|
|
|
|
buttonUpd.Text = "Обновить список";
|
|
|
|
|
buttonUpd.UseVisualStyleBackColor = true;
|
|
|
|
|
buttonUpd.Click += ButtonUpd_Click;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
//
|
|
|
|
|
// FormMain
|
|
|
|
|
//
|
|
|
|
|
AutoScaleDimensions = new SizeF(8F, 20F);
|
|
|
|
|
AutoScaleMode = AutoScaleMode.Font;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
ClientSize = new Size(1178, 463);
|
|
|
|
|
Controls.Add(buttonUpd);
|
2024-04-07 16:54:02 +04:00
|
|
|
|
Controls.Add(buttonIssuedOrder);
|
|
|
|
|
Controls.Add(buttonOrderReady);
|
|
|
|
|
Controls.Add(buttonTakeOrderInWork);
|
|
|
|
|
Controls.Add(buttonCreateOrder);
|
2024-05-12 14:38:32 +04:00
|
|
|
|
Controls.Add(dataGridView);
|
|
|
|
|
Controls.Add(menuStrip);
|
|
|
|
|
MainMenuStrip = menuStrip;
|
|
|
|
|
Margin = new Padding(5, 4, 5, 4);
|
2024-04-07 16:54:02 +04:00
|
|
|
|
Name = "FormMain";
|
2024-05-12 14:38:32 +04:00
|
|
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
|
|
|
Text = "ПО";
|
2024-04-07 16:54:02 +04:00
|
|
|
|
Load += FormMain_Load;
|
2024-05-12 14:38:32 +04:00
|
|
|
|
menuStrip.ResumeLayout(false);
|
|
|
|
|
menuStrip.PerformLayout();
|
2024-04-07 16:54:02 +04:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)dataGridView).EndInit();
|
|
|
|
|
ResumeLayout(false);
|
|
|
|
|
PerformLayout();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2024-05-12 14:38:32 +04:00
|
|
|
|
private System.Windows.Forms.MenuStrip menuStrip;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem справочникиToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem компонентыToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem мороженоеToolStripMenuItem;
|
|
|
|
|
private System.Windows.Forms.Button buttonIssuedOrder;
|
|
|
|
|
private System.Windows.Forms.Button buttonOrderReady;
|
|
|
|
|
private System.Windows.Forms.Button buttonTakeOrderInWork;
|
|
|
|
|
private System.Windows.Forms.Button buttonCreateOrder;
|
|
|
|
|
private System.Windows.Forms.DataGridView dataGridView;
|
|
|
|
|
private System.Windows.Forms.Button buttonUpd;
|
|
|
|
|
private ToolStripMenuItem магазиныToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem пополнениеМагазинаToolStripMenuItem;
|
|
|
|
|
private ToolStripMenuItem продажаМороженогоToolStripMenuItem;
|
2024-04-07 16:54:02 +04:00
|
|
|
|
}
|
2024-05-12 14:38:32 +04:00
|
|
|
|
}
|
|
|
|
|
|