From 95f3d35609751d2691b2c43ced25397f3b956000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=D0=B0?= Date: Fri, 24 Mar 2023 19:22:02 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20=D0=BF=D0=BE=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=86=D0=B5=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FoodOrdersView/FormFood.Designer.cs | 45 ++++++++++--------- FoodOrders/FoodOrdersView/FormFood.resx | 9 ---- 2 files changed, 23 insertions(+), 31 deletions(-) diff --git a/FoodOrders/FoodOrdersView/FormFood.Designer.cs b/FoodOrders/FoodOrdersView/FormFood.Designer.cs index f76c710..6ef5ef5 100644 --- a/FoodOrders/FoodOrdersView/FormFood.Designer.cs +++ b/FoodOrders/FoodOrdersView/FormFood.Designer.cs @@ -33,6 +33,8 @@ this.FoodNameTextBox = new System.Windows.Forms.TextBox(); this.PriceTextBox = new System.Windows.Forms.TextBox(); this.ComponentsGroupBox = new System.Windows.Forms.GroupBox(); + this.ButtonCancel = new System.Windows.Forms.Button(); + this.SaveButton = new System.Windows.Forms.Button(); this.DeleteButton = new System.Windows.Forms.Button(); this.UpdateButton = new System.Windows.Forms.Button(); this.ChangeButton = new System.Windows.Forms.Button(); @@ -41,8 +43,6 @@ this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.ComponentNameField = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CountField = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.SaveButton = new System.Windows.Forms.Button(); - this.ButtonCancel = new System.Windows.Forms.Button(); this.ComponentsGroupBox.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); @@ -74,6 +74,7 @@ // // PriceTextBox // + this.PriceTextBox.Enabled = false; this.PriceTextBox.Location = new System.Drawing.Point(83, 44); this.PriceTextBox.Name = "PriceTextBox"; this.PriceTextBox.Size = new System.Drawing.Size(250, 23); @@ -95,6 +96,26 @@ this.ComponentsGroupBox.TabStop = false; this.ComponentsGroupBox.Text = "Компоненты"; // + // ButtonCancel + // + this.ButtonCancel.Location = new System.Drawing.Point(573, 321); + this.ButtonCancel.Name = "ButtonCancel"; + this.ButtonCancel.Size = new System.Drawing.Size(98, 23); + this.ButtonCancel.TabIndex = 6; + this.ButtonCancel.Text = "Отмена"; + this.ButtonCancel.UseVisualStyleBackColor = true; + this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); + // + // SaveButton + // + this.SaveButton.Location = new System.Drawing.Point(469, 321); + this.SaveButton.Name = "SaveButton"; + this.SaveButton.Size = new System.Drawing.Size(98, 23); + this.SaveButton.TabIndex = 5; + this.SaveButton.Text = "Сохранить"; + this.SaveButton.UseVisualStyleBackColor = true; + this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click); + // // DeleteButton // this.DeleteButton.Location = new System.Drawing.Point(521, 137); @@ -165,26 +186,6 @@ this.CountField.HeaderText = "Количество"; this.CountField.Name = "CountField"; // - // SaveButton - // - this.SaveButton.Location = new System.Drawing.Point(469, 321); - this.SaveButton.Name = "SaveButton"; - this.SaveButton.Size = new System.Drawing.Size(98, 23); - this.SaveButton.TabIndex = 5; - this.SaveButton.Text = "Сохранить"; - this.SaveButton.UseVisualStyleBackColor = true; - this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click); - // - // ButtonCancel - // - this.ButtonCancel.Location = new System.Drawing.Point(573, 321); - this.ButtonCancel.Name = "ButtonCancel"; - this.ButtonCancel.Size = new System.Drawing.Size(98, 23); - this.ButtonCancel.TabIndex = 6; - this.ButtonCancel.Text = "Отмена"; - this.ButtonCancel.UseVisualStyleBackColor = true; - this.ButtonCancel.Click += new System.EventHandler(this.ButtonCancel_Click); - // // FormFood // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); diff --git a/FoodOrders/FoodOrdersView/FormFood.resx b/FoodOrders/FoodOrdersView/FormFood.resx index 7c56f52..144a956 100644 --- a/FoodOrders/FoodOrdersView/FormFood.resx +++ b/FoodOrders/FoodOrdersView/FormFood.resx @@ -66,13 +66,4 @@ True - - True - - - True - - - True - \ No newline at end of file