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