diff --git a/Pizzeria/Pizzeria/FormComponent.Designer.cs b/Pizzeria/Pizzeria/FormComponent.Designer.cs index 1c685f0..4b18db0 100644 --- a/Pizzeria/Pizzeria/FormComponent.Designer.cs +++ b/Pizzeria/Pizzeria/FormComponent.Designer.cs @@ -39,41 +39,44 @@ // labelName // labelName.AutoSize = true; - labelName.Location = new Point(12, 21); + labelName.Location = new Point(14, 28); labelName.Name = "labelName"; - labelName.Size = new Size(62, 15); + labelName.Size = new Size(80, 20); labelName.TabIndex = 0; labelName.Text = "Название:"; // // labelPrice // labelPrice.AutoSize = true; - labelPrice.Location = new Point(12, 50); + labelPrice.Location = new Point(14, 67); labelPrice.Name = "labelPrice"; - labelPrice.Size = new Size(38, 15); + labelPrice.Size = new Size(48, 20); labelPrice.TabIndex = 1; labelPrice.Text = "Цена:"; // // textBoxName // - textBoxName.Location = new Point(100, 18); + textBoxName.Location = new Point(114, 24); + textBoxName.Margin = new Padding(3, 4, 3, 4); textBoxName.Name = "textBoxName"; - textBoxName.Size = new Size(233, 23); + textBoxName.Size = new Size(266, 27); textBoxName.TabIndex = 2; // // textBoxCost // - textBoxCost.Location = new Point(100, 47); + textBoxCost.Location = new Point(114, 63); + textBoxCost.Margin = new Padding(3, 4, 3, 4); textBoxCost.Name = "textBoxCost"; - textBoxCost.Size = new Size(233, 23); + textBoxCost.Size = new Size(266, 27); textBoxCost.TabIndex = 2; // // buttonSave // buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonSave.Location = new Point(177, 93); + buttonSave.Location = new Point(194, 124); + buttonSave.Margin = new Padding(3, 4, 3, 4); buttonSave.Name = "buttonSave"; - buttonSave.Size = new Size(75, 23); + buttonSave.Size = new Size(94, 31); buttonSave.TabIndex = 3; buttonSave.Text = "Сохранить"; buttonSave.UseVisualStyleBackColor = true; @@ -82,9 +85,10 @@ // buttonCancel // buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; - buttonCancel.Location = new Point(258, 93); + buttonCancel.Location = new Point(295, 124); + buttonCancel.Margin = new Padding(3, 4, 3, 4); buttonCancel.Name = "buttonCancel"; - buttonCancel.Size = new Size(75, 23); + buttonCancel.Size = new Size(86, 31); buttonCancel.TabIndex = 3; buttonCancel.Text = "Отмена"; buttonCancel.UseVisualStyleBackColor = true; @@ -92,15 +96,16 @@ // // FormComponent // - AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(345, 136); + ClientSize = new Size(394, 181); Controls.Add(buttonCancel); Controls.Add(buttonSave); Controls.Add(textBoxCost); Controls.Add(textBoxName); Controls.Add(labelPrice); Controls.Add(labelName); + Margin = new Padding(3, 4, 3, 4); Name = "FormComponent"; Text = "Ингредиент"; Load += FormComponent_Load;