diff --git a/CarpentryWorkshop/CarpentryWorkshopView/FormMain.Designer.cs b/CarpentryWorkshop/CarpentryWorkshopView/FormMain.Designer.cs index 94eddf1..ebc4608 100644 --- a/CarpentryWorkshop/CarpentryWorkshopView/FormMain.Designer.cs +++ b/CarpentryWorkshop/CarpentryWorkshopView/FormMain.Designer.cs @@ -32,14 +32,14 @@ справочники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(); - магазиныToolStripMenuItem = new ToolStripMenuItem(); - поставкиToolStripMenuItem = new ToolStripMenuItem(); + поставкаToolStripMenuItem = new ToolStripMenuItem(); menuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); SuspendLayout(); @@ -55,7 +55,7 @@ // // справочникиToolStripMenuItem // - справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { КомпонентыToolStripMenuItem, ИзделияToolStripMenuItem, магазиныToolStripMenuItem, поставкиToolStripMenuItem }); + справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { КомпонентыToolStripMenuItem, ИзделияToolStripMenuItem, магазиныToolStripMenuItem, поставкаToolStripMenuItem }); справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; справочникиToolStripMenuItem.Size = new Size(94, 20); справочникиToolStripMenuItem.Text = "Справочники"; @@ -74,6 +74,13 @@ ИзделияToolStripMenuItem.Text = "Изделия"; ИзделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click; // + // магазиныToolStripMenuItem + // + магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem"; + магазиныToolStripMenuItem.Size = new Size(180, 22); + магазиныToolStripMenuItem.Text = "Магазины"; + магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click; + // // dataGridView // dataGridView.BackgroundColor = SystemColors.ButtonHighlight; @@ -136,19 +143,12 @@ ButtonRef.UseVisualStyleBackColor = true; ButtonRef.Click += ButtonRef_Click; // - // магазиныToolStripMenuItem + // поставкаToolStripMenuItem // - магазиныToolStripMenuItem.Name = "магазиныToolStripMenuItem"; - магазиныToolStripMenuItem.Size = new Size(180, 22); - магазиныToolStripMenuItem.Text = "Магазины"; - магазиныToolStripMenuItem.Click += магазиныToolStripMenuItem_Click; - // - // поставкиToolStripMenuItem - // - поставкиToolStripMenuItem.Name = "поставкиToolStripMenuItem"; - поставкиToolStripMenuItem.Size = new Size(180, 22); - поставкиToolStripMenuItem.Text = "Поставки"; - поставкиToolStripMenuItem.DoubleClick += поставкиToolStripMenuItem_Click; + поставкаToolStripMenuItem.Name = "поставкаToolStripMenuItem"; + поставкаToolStripMenuItem.Size = new Size(180, 22); + поставкаToolStripMenuItem.Text = "Поставка"; + поставкаToolStripMenuItem.Click += поставкиToolStripMenuItem_Click; // // FormMain // @@ -185,6 +185,6 @@ private System.Windows.Forms.ToolStripMenuItem КомпонентыToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem ИзделияToolStripMenuItem; private ToolStripMenuItem магазиныToolStripMenuItem; - private ToolStripMenuItem поставкиToolStripMenuItem; + private ToolStripMenuItem поставкаToolStripMenuItem; } } \ No newline at end of file diff --git a/CarpentryWorkshop/CarpentryWorkshopView/FormSupply.Designer.cs b/CarpentryWorkshop/CarpentryWorkshopView/FormSupply.Designer.cs index 5f858ea..491fd83 100644 --- a/CarpentryWorkshop/CarpentryWorkshopView/FormSupply.Designer.cs +++ b/CarpentryWorkshop/CarpentryWorkshopView/FormSupply.Designer.cs @@ -37,23 +37,21 @@ // // ShopComboBox // + ShopComboBox.DropDownStyle = ComboBoxStyle.DropDownList; ShopComboBox.FormattingEnabled = true; ShopComboBox.Location = new Point(12, 12); ShopComboBox.Name = "ShopComboBox"; ShopComboBox.Size = new Size(331, 23); ShopComboBox.TabIndex = 0; - ShopComboBox.DropDownStyle = ComboBoxStyle.DropDownList; - ShopComboBox.FormattingEnabled = true; // // WoodComboBox // + WoodComboBox.DropDownStyle = ComboBoxStyle.DropDownList; WoodComboBox.FormattingEnabled = true; WoodComboBox.Location = new Point(12, 41); WoodComboBox.Name = "WoodComboBox"; WoodComboBox.Size = new Size(331, 23); WoodComboBox.TabIndex = 1; - WoodComboBox.DropDownStyle = ComboBoxStyle.DropDownList; - WoodComboBox.FormattingEnabled = true; // // CountTextBox // @@ -93,7 +91,7 @@ Controls.Add(WoodComboBox); Controls.Add(ShopComboBox); Name = "FormSupply"; - Text = "SupplyForm"; + Text = "Поставки"; ResumeLayout(false); PerformLayout(); }