This commit is contained in:
revengel66 2024-03-13 11:02:45 +03:00
parent 7033db0be5
commit 264c17ed08

View File

@ -40,36 +40,38 @@
// //
// textBoxCount // textBoxCount
// //
textBoxCount.Location = new Point(99, 41); textBoxCount.Location = new Point(113, 55);
textBoxCount.Margin = new Padding(3, 4, 3, 4);
textBoxCount.Name = "textBoxCount"; textBoxCount.Name = "textBoxCount";
textBoxCount.Size = new Size(233, 23); textBoxCount.Size = new Size(266, 27);
textBoxCount.TabIndex = 13; textBoxCount.TabIndex = 13;
textBoxCount.TextChanged += textBoxCount_TextChanged; textBoxCount.TextChanged += textBoxCount_TextChanged;
// //
// labelCount // labelCount
// //
labelCount.AutoSize = true; labelCount.AutoSize = true;
labelCount.Location = new Point(11, 44); labelCount.Location = new Point(13, 59);
labelCount.Name = "labelCount"; labelCount.Name = "labelCount";
labelCount.Size = new Size(75, 15); labelCount.Size = new Size(93, 20);
labelCount.TabIndex = 12; labelCount.TabIndex = 12;
labelCount.Text = "Количество:"; labelCount.Text = "Количество:";
// //
// labelPizza // labelPizza
// //
labelPizza.AutoSize = true; labelPizza.AutoSize = true;
labelPizza.Location = new Point(11, 15); labelPizza.Location = new Point(13, 20);
labelPizza.Name = "labelPizza"; labelPizza.Name = "labelPizza";
labelPizza.Size = new Size(43, 15); labelPizza.Size = new Size(55, 20);
labelPizza.TabIndex = 11; labelPizza.TabIndex = 11;
labelPizza.Text = "Пицца"; labelPizza.Text = "Пицца";
// //
// buttonCancel // buttonCancel
// //
buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonCancel.Location = new Point(257, 109); buttonCancel.Location = new Point(294, 145);
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 = 15; buttonCancel.TabIndex = 15;
buttonCancel.Text = "Отмена"; buttonCancel.Text = "Отмена";
buttonCancel.UseVisualStyleBackColor = true; buttonCancel.UseVisualStyleBackColor = true;
@ -78,9 +80,10 @@
// buttonSave // buttonSave
// //
buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; buttonSave.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
buttonSave.Location = new Point(176, 109); buttonSave.Location = new Point(193, 145);
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 = 16; buttonSave.TabIndex = 16;
buttonSave.Text = "Сохранить"; buttonSave.Text = "Сохранить";
buttonSave.UseVisualStyleBackColor = true; buttonSave.UseVisualStyleBackColor = true;
@ -89,34 +92,36 @@
// labelSum // labelSum
// //
labelSum.AutoSize = true; labelSum.AutoSize = true;
labelSum.Location = new Point(11, 73); labelSum.Location = new Point(13, 97);
labelSum.Name = "labelSum"; labelSum.Name = "labelSum";
labelSum.Size = new Size(48, 15); labelSum.Size = new Size(58, 20);
labelSum.TabIndex = 12; labelSum.TabIndex = 12;
labelSum.Text = "Сумма:"; labelSum.Text = "Сумма:";
// //
// textBoxSum // textBoxSum
// //
textBoxSum.Location = new Point(99, 70); textBoxSum.Location = new Point(113, 93);
textBoxSum.Margin = new Padding(3, 4, 3, 4);
textBoxSum.Name = "textBoxSum"; textBoxSum.Name = "textBoxSum";
textBoxSum.ReadOnly = true; textBoxSum.ReadOnly = true;
textBoxSum.Size = new Size(233, 23); textBoxSum.Size = new Size(266, 27);
textBoxSum.TabIndex = 13; textBoxSum.TabIndex = 13;
// //
// comboBoxPizza // comboBoxPizza
// //
comboBoxPizza.DropDownStyle = ComboBoxStyle.DropDownList; comboBoxPizza.DropDownStyle = ComboBoxStyle.DropDownList;
comboBoxPizza.FormattingEnabled = true; comboBoxPizza.FormattingEnabled = true;
comboBoxPizza.Location = new Point(99, 12); comboBoxPizza.Location = new Point(113, 16);
comboBoxPizza.Margin = new Padding(3, 4, 3, 4);
comboBoxPizza.Name = "comboBoxPizza"; comboBoxPizza.Name = "comboBoxPizza";
comboBoxPizza.Size = new Size(233, 23); comboBoxPizza.Size = new Size(266, 28);
comboBoxPizza.TabIndex = 17; comboBoxPizza.TabIndex = 17;
// //
// FormCreateOrder // FormCreateOrder
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(351, 150); ClientSize = new Size(401, 200);
Controls.Add(comboBoxPizza); Controls.Add(comboBoxPizza);
Controls.Add(buttonCancel); Controls.Add(buttonCancel);
Controls.Add(buttonSave); Controls.Add(buttonSave);
@ -125,6 +130,7 @@
Controls.Add(textBoxCount); Controls.Add(textBoxCount);
Controls.Add(labelCount); Controls.Add(labelCount);
Controls.Add(labelPizza); Controls.Add(labelPizza);
Margin = new Padding(3, 4, 3, 4);
Name = "FormCreateOrder"; Name = "FormCreateOrder";
Text = "Заказ"; Text = "Заказ";
Load += FormCreateOrder_Load; Load += FormCreateOrder_Load;