This commit is contained in:
revengel66 2024-03-13 11:04:44 +03:00
parent defdb87b32
commit 2223ea4e4a

View File

@ -39,41 +39,44 @@
// labelName // labelName
// //
labelName.AutoSize = true; labelName.AutoSize = true;
labelName.Location = new Point(12, 21); labelName.Location = new Point(14, 28);
labelName.Name = "labelName"; labelName.Name = "labelName";
labelName.Size = new Size(62, 15); labelName.Size = new Size(80, 20);
labelName.TabIndex = 0; labelName.TabIndex = 0;
labelName.Text = "Название:"; labelName.Text = "Название:";
// //
// labelPrice // labelPrice
// //
labelPrice.AutoSize = true; labelPrice.AutoSize = true;
labelPrice.Location = new Point(12, 50); labelPrice.Location = new Point(14, 67);
labelPrice.Name = "labelPrice"; labelPrice.Name = "labelPrice";
labelPrice.Size = new Size(38, 15); labelPrice.Size = new Size(48, 20);
labelPrice.TabIndex = 1; labelPrice.TabIndex = 1;
labelPrice.Text = "Цена:"; labelPrice.Text = "Цена:";
// //
// textBoxName // 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.Name = "textBoxName";
textBoxName.Size = new Size(233, 23); textBoxName.Size = new Size(266, 27);
textBoxName.TabIndex = 2; textBoxName.TabIndex = 2;
// //
// textBoxCost // 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.Name = "textBoxCost";
textBoxCost.Size = new Size(233, 23); textBoxCost.Size = new Size(266, 27);
textBoxCost.TabIndex = 2; textBoxCost.TabIndex = 2;
// //
// buttonSave // buttonSave
// //
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; 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.Name = "buttonSave";
buttonSave.Size = new Size(75, 23); buttonSave.Size = new Size(94, 31);
buttonSave.TabIndex = 3; buttonSave.TabIndex = 3;
buttonSave.Text = "Сохранить"; buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true; buttonSave.UseVisualStyleBackColor = true;
@ -82,9 +85,10 @@
// buttonCancel // buttonCancel
// //
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; 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.Name = "buttonCancel";
buttonCancel.Size = new Size(75, 23); buttonCancel.Size = new Size(86, 31);
buttonCancel.TabIndex = 3; buttonCancel.TabIndex = 3;
buttonCancel.Text = "Отмена"; buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true; buttonCancel.UseVisualStyleBackColor = true;
@ -92,15 +96,16 @@
// //
// FormComponent // FormComponent
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(345, 136); ClientSize = new Size(394, 181);
Controls.Add(buttonCancel); Controls.Add(buttonCancel);
Controls.Add(buttonSave); Controls.Add(buttonSave);
Controls.Add(textBoxCost); Controls.Add(textBoxCost);
Controls.Add(textBoxName); Controls.Add(textBoxName);
Controls.Add(labelPrice); Controls.Add(labelPrice);
Controls.Add(labelName); Controls.Add(labelName);
Margin = new Padding(3, 4, 3, 4);
Name = "FormComponent"; Name = "FormComponent";
Text = "Ингредиент"; Text = "Ингредиент";
Load += FormComponent_Load; Load += FormComponent_Load;