diff --git a/ClothShop/ClothShopView/FormMain.Designer.cs b/ClothShop/ClothShopView/FormMain.Designer.cs index 565b57d..c14a48f 100644 --- a/ClothShop/ClothShopView/FormMain.Designer.cs +++ b/ClothShop/ClothShopView/FormMain.Designer.cs @@ -20,186 +20,186 @@ base.Dispose(disposing); } - #region Windows Form Designer generated code + #region Windows Form Designer generated code - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - dataGridView = new DataGridView(); - menuStrip = new MenuStrip(); - справочникиToolStripMenuItem = new ToolStripMenuItem(); - компонентыToolStripMenuItem = new ToolStripMenuItem(); - изделиеToolStripMenuItem = new ToolStripMenuItem(); - клиентыToolStripMenuItem = new ToolStripMenuItem(); - ReportToolStripMenuItem = new ToolStripMenuItem(); - ReportTextilesToolStripMenuItem = new ToolStripMenuItem(); - ReportTextileComponentsToolStripMenuItem = new ToolStripMenuItem(); - ReportOrdeersToolStripMenuItem = new ToolStripMenuItem(); - buttonRefresh = new Button(); - buttonIssuedOrder = new Button(); - buttonOrderReady = new Button(); - buttonTakeOrderInWork = new Button(); - buttonCreateOrder = new Button(); - ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); - menuStrip.SuspendLayout(); - SuspendLayout(); - // - // dataGridView - // - dataGridView.AllowUserToAddRows = false; - dataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; - dataGridView.BackgroundColor = Color.White; - dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridView.Location = new Point(12, 31); - dataGridView.Name = "dataGridView"; - dataGridView.RowHeadersWidth = 51; - dataGridView.Size = new Size(914, 377); - dataGridView.TabIndex = 8; - // - // menuStrip - // - menuStrip.ImageScalingSize = new Size(20, 20); - menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, ReportToolStripMenuItem }); - menuStrip.Location = new Point(0, 0); - menuStrip.Name = "menuStrip"; - menuStrip.Size = new Size(1156, 28); - menuStrip.TabIndex = 7; - menuStrip.Text = "Меню справочников"; - // - // справочникиToolStripMenuItem - // - справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделиеToolStripMenuItem, клиентыToolStripMenuItem }); - справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; - справочникиToolStripMenuItem.Size = new Size(117, 24); - справочникиToolStripMenuItem.Text = "Справочники"; - // - // компонентыToolStripMenuItem - // - компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem"; - компонентыToolStripMenuItem.Size = new Size(224, 26); - компонентыToolStripMenuItem.Text = "Компоненты"; - компонентыToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click; - // - // изделиеToolStripMenuItem - // - изделиеToolStripMenuItem.Name = "изделиеToolStripMenuItem"; - изделиеToolStripMenuItem.Size = new Size(224, 26); - изделиеToolStripMenuItem.Text = "Изделие"; - изделиеToolStripMenuItem.Click += TextileToolStripMenuItem_Click; - // - // клиентыToolStripMenuItem - // - клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem"; - клиентыToolStripMenuItem.Size = new Size(224, 26); - клиентыToolStripMenuItem.Text = "Клиенты"; - клиентыToolStripMenuItem.Click += clientsToolStripMenuItem_Click; - // - // ReportToolStripMenuItem - // - ReportToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ReportTextilesToolStripMenuItem, ReportTextileComponentsToolStripMenuItem, ReportOrdeersToolStripMenuItem }); - ReportToolStripMenuItem.Name = "ReportToolStripMenuItem"; - ReportToolStripMenuItem.Size = new Size(73, 24); - ReportToolStripMenuItem.Text = "Отчеты"; - // - // ReportTextilesToolStripMenuItem - // - ReportTextilesToolStripMenuItem.Name = "ReportTextilesToolStripMenuItem"; - ReportTextilesToolStripMenuItem.Size = new Size(276, 26); - ReportTextilesToolStripMenuItem.Text = "Список изделий"; - ReportTextilesToolStripMenuItem.Click += ReportComponentsToolStripMenuItem_Click; - // - // ReportTextileComponentsToolStripMenuItem - // - ReportTextileComponentsToolStripMenuItem.Name = "ReportTextileComponentsToolStripMenuItem"; - ReportTextileComponentsToolStripMenuItem.Size = new Size(276, 26); - ReportTextileComponentsToolStripMenuItem.Text = "Компоненты по изделиям"; - ReportTextileComponentsToolStripMenuItem.Click += ReportTextileComponentsToolStripMenuItem_Click; - // - // ReportOrdeersToolStripMenuItem - // - ReportOrdeersToolStripMenuItem.Name = "ReportOrdeersToolStripMenuItem"; - ReportOrdeersToolStripMenuItem.Size = new Size(276, 26); - ReportOrdeersToolStripMenuItem.Text = "Список заказов"; - ReportOrdeersToolStripMenuItem.Click += ReportOrdersToolStripMenuItem_Click; - // - // buttonRefresh - // - buttonRefresh.Location = new Point(932, 324); - buttonRefresh.Name = "buttonRefresh"; - buttonRefresh.Size = new Size(212, 38); - buttonRefresh.TabIndex = 13; - buttonRefresh.Text = "Обновить список"; - buttonRefresh.UseVisualStyleBackColor = true; - buttonRefresh.Click += ButtonRef_Click; - // - // buttonIssuedOrder - // - buttonIssuedOrder.Location = new Point(932, 256); - buttonIssuedOrder.Name = "buttonIssuedOrder"; - buttonIssuedOrder.Size = new Size(212, 38); - buttonIssuedOrder.TabIndex = 12; - buttonIssuedOrder.Text = "Заказ выдан"; - buttonIssuedOrder.UseVisualStyleBackColor = true; - buttonIssuedOrder.Click += ButtonIssuedOrder_Click; - // - // buttonOrderReady - // - buttonOrderReady.Location = new Point(932, 190); - buttonOrderReady.Name = "buttonOrderReady"; - buttonOrderReady.Size = new Size(212, 38); - buttonOrderReady.TabIndex = 11; - buttonOrderReady.Text = "Заказ готов"; - buttonOrderReady.UseVisualStyleBackColor = true; - buttonOrderReady.Click += ButtonOrderReady_Click; - // - // buttonTakeOrderInWork - // - buttonTakeOrderInWork.Location = new Point(932, 124); - buttonTakeOrderInWork.Name = "buttonTakeOrderInWork"; - buttonTakeOrderInWork.Size = new Size(212, 38); - buttonTakeOrderInWork.TabIndex = 10; - buttonTakeOrderInWork.Text = "Отдать на выполнение"; - buttonTakeOrderInWork.UseVisualStyleBackColor = true; - buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click; - // - // buttonCreateOrder - // - buttonCreateOrder.Location = new Point(932, 56); - buttonCreateOrder.Name = "buttonCreateOrder"; - buttonCreateOrder.Size = new Size(212, 38); - buttonCreateOrder.TabIndex = 9; - buttonCreateOrder.Text = "Создать заказ"; - buttonCreateOrder.UseVisualStyleBackColor = true; - buttonCreateOrder.Click += ButtonCreateOrder_Click; - // - // FormMain - // - AutoScaleDimensions = new SizeF(8F, 20F); - AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1156, 417); - Controls.Add(dataGridView); - Controls.Add(menuStrip); - Controls.Add(buttonRefresh); - Controls.Add(buttonIssuedOrder); - Controls.Add(buttonOrderReady); - Controls.Add(buttonTakeOrderInWork); - Controls.Add(buttonCreateOrder); - Name = "FormMain"; - Text = "Заказы"; - Load += FormMain_Load; - ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); - menuStrip.ResumeLayout(false); - menuStrip.PerformLayout(); - ResumeLayout(false); - PerformLayout(); - } + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + dataGridView = new DataGridView(); + menuStrip = new MenuStrip(); + справочникиToolStripMenuItem = new ToolStripMenuItem(); + компонентыToolStripMenuItem = new ToolStripMenuItem(); + изделиеToolStripMenuItem = new ToolStripMenuItem(); + клиентыToolStripMenuItem = new ToolStripMenuItem(); + ReportToolStripMenuItem = new ToolStripMenuItem(); + ReportTextilesToolStripMenuItem = new ToolStripMenuItem(); + ReportTextileComponentsToolStripMenuItem = new ToolStripMenuItem(); + ReportOrdeersToolStripMenuItem = new ToolStripMenuItem(); + buttonRefresh = new Button(); + buttonIssuedOrder = new Button(); + buttonOrderReady = new Button(); + buttonTakeOrderInWork = new Button(); + buttonCreateOrder = new Button(); + ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); + menuStrip.SuspendLayout(); + SuspendLayout(); + // + // dataGridView + // + dataGridView.AllowUserToAddRows = false; + dataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; + dataGridView.BackgroundColor = Color.White; + dataGridView.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridView.Location = new Point(12, 31); + dataGridView.Name = "dataGridView"; + dataGridView.RowHeadersWidth = 51; + dataGridView.Size = new Size(1073, 377); + dataGridView.TabIndex = 8; + // + // menuStrip + // + menuStrip.ImageScalingSize = new Size(20, 20); + menuStrip.Items.AddRange(new ToolStripItem[] { справочникиToolStripMenuItem, ReportToolStripMenuItem }); + menuStrip.Location = new Point(0, 0); + menuStrip.Name = "menuStrip"; + menuStrip.Size = new Size(1331, 28); + menuStrip.TabIndex = 7; + menuStrip.Text = "Меню справочников"; + // + // справочникиToolStripMenuItem + // + справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделиеToolStripMenuItem, клиентыToolStripMenuItem }); + справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; + справочникиToolStripMenuItem.Size = new Size(117, 24); + справочникиToolStripMenuItem.Text = "Справочники"; + // + // компонентыToolStripMenuItem + // + компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem"; + компонентыToolStripMenuItem.Size = new Size(182, 26); + компонентыToolStripMenuItem.Text = "Компоненты"; + компонентыToolStripMenuItem.Click += ComponentsToolStripMenuItem_Click; + // + // изделиеToolStripMenuItem + // + изделиеToolStripMenuItem.Name = "изделиеToolStripMenuItem"; + изделиеToolStripMenuItem.Size = new Size(182, 26); + изделиеToolStripMenuItem.Text = "Изделие"; + изделиеToolStripMenuItem.Click += TextileToolStripMenuItem_Click; + // + // клиентыToolStripMenuItem + // + клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem"; + клиентыToolStripMenuItem.Size = new Size(182, 26); + клиентыToolStripMenuItem.Text = "Клиенты"; + клиентыToolStripMenuItem.Click += clientsToolStripMenuItem_Click; + // + // ReportToolStripMenuItem + // + ReportToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { ReportTextilesToolStripMenuItem, ReportTextileComponentsToolStripMenuItem, ReportOrdeersToolStripMenuItem }); + ReportToolStripMenuItem.Name = "ReportToolStripMenuItem"; + ReportToolStripMenuItem.Size = new Size(73, 24); + ReportToolStripMenuItem.Text = "Отчеты"; + // + // ReportTextilesToolStripMenuItem + // + ReportTextilesToolStripMenuItem.Name = "ReportTextilesToolStripMenuItem"; + ReportTextilesToolStripMenuItem.Size = new Size(276, 26); + ReportTextilesToolStripMenuItem.Text = "Список изделий"; + ReportTextilesToolStripMenuItem.Click += ReportComponentsToolStripMenuItem_Click; + // + // ReportTextileComponentsToolStripMenuItem + // + ReportTextileComponentsToolStripMenuItem.Name = "ReportTextileComponentsToolStripMenuItem"; + ReportTextileComponentsToolStripMenuItem.Size = new Size(276, 26); + ReportTextileComponentsToolStripMenuItem.Text = "Компоненты по изделиям"; + ReportTextileComponentsToolStripMenuItem.Click += ReportTextileComponentsToolStripMenuItem_Click; + // + // ReportOrdeersToolStripMenuItem + // + ReportOrdeersToolStripMenuItem.Name = "ReportOrdeersToolStripMenuItem"; + ReportOrdeersToolStripMenuItem.Size = new Size(276, 26); + ReportOrdeersToolStripMenuItem.Text = "Список заказов"; + ReportOrdeersToolStripMenuItem.Click += ReportOrdersToolStripMenuItem_Click; + // + // buttonRefresh + // + buttonRefresh.Location = new Point(1107, 318); + buttonRefresh.Name = "buttonRefresh"; + buttonRefresh.Size = new Size(212, 38); + buttonRefresh.TabIndex = 13; + buttonRefresh.Text = "Обновить список"; + buttonRefresh.UseVisualStyleBackColor = true; + buttonRefresh.Click += ButtonRef_Click; + // + // buttonIssuedOrder + // + buttonIssuedOrder.Location = new Point(1107, 237); + buttonIssuedOrder.Name = "buttonIssuedOrder"; + buttonIssuedOrder.Size = new Size(212, 38); + buttonIssuedOrder.TabIndex = 12; + buttonIssuedOrder.Text = "Заказ выдан"; + buttonIssuedOrder.UseVisualStyleBackColor = true; + buttonIssuedOrder.Click += ButtonIssuedOrder_Click; + // + // buttonOrderReady + // + buttonOrderReady.Location = new Point(1107, 163); + buttonOrderReady.Name = "buttonOrderReady"; + buttonOrderReady.Size = new Size(212, 38); + buttonOrderReady.TabIndex = 11; + buttonOrderReady.Text = "Заказ готов"; + buttonOrderReady.UseVisualStyleBackColor = true; + buttonOrderReady.Click += ButtonOrderReady_Click; + // + // buttonTakeOrderInWork + // + buttonTakeOrderInWork.Location = new Point(1107, 109); + buttonTakeOrderInWork.Name = "buttonTakeOrderInWork"; + buttonTakeOrderInWork.Size = new Size(212, 38); + buttonTakeOrderInWork.TabIndex = 10; + buttonTakeOrderInWork.Text = "Отдать на выполнение"; + buttonTakeOrderInWork.UseVisualStyleBackColor = true; + buttonTakeOrderInWork.Click += ButtonTakeOrderInWork_Click; + // + // buttonCreateOrder + // + buttonCreateOrder.Location = new Point(1107, 48); + buttonCreateOrder.Name = "buttonCreateOrder"; + buttonCreateOrder.Size = new Size(212, 38); + buttonCreateOrder.TabIndex = 9; + buttonCreateOrder.Text = "Создать заказ"; + buttonCreateOrder.UseVisualStyleBackColor = true; + buttonCreateOrder.Click += ButtonCreateOrder_Click; + // + // FormMain + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(1331, 417); + Controls.Add(dataGridView); + Controls.Add(menuStrip); + Controls.Add(buttonRefresh); + Controls.Add(buttonIssuedOrder); + Controls.Add(buttonOrderReady); + Controls.Add(buttonTakeOrderInWork); + Controls.Add(buttonCreateOrder); + Name = "FormMain"; + Text = "Заказы"; + Load += FormMain_Load; + ((System.ComponentModel.ISupportInitialize)dataGridView).EndInit(); + menuStrip.ResumeLayout(false); + menuStrip.PerformLayout(); + ResumeLayout(false); + PerformLayout(); + } - #endregion + #endregion - private DataGridView dataGridView; + private DataGridView dataGridView; private MenuStrip menuStrip; private ToolStripMenuItem справочникиToolStripMenuItem; private ToolStripMenuItem компонентыToolStripMenuItem;