еще правки

This commit is contained in:
gg12 darfren 2024-02-20 12:47:31 +04:00
parent 2ef8238d7d
commit fdc11812dd

View File

@ -41,34 +41,38 @@
// IceCreamComboBox
//
IceCreamComboBox.FormattingEnabled = true;
IceCreamComboBox.Location = new Point(103, 12);
IceCreamComboBox.Location = new Point(118, 16);
IceCreamComboBox.Margin = new Padding(3, 4, 3, 4);
IceCreamComboBox.Name = "IceCreamComboBox";
IceCreamComboBox.Size = new Size(232, 23);
IceCreamComboBox.Size = new Size(265, 28);
IceCreamComboBox.TabIndex = 0;
IceCreamComboBox.SelectedIndexChanged += IceCreamComboBox_SelectedIndexChanged;
//
// CountTextBox
//
CountTextBox.Location = new Point(103, 41);
CountTextBox.Location = new Point(118, 55);
CountTextBox.Margin = new Padding(3, 4, 3, 4);
CountTextBox.Name = "CountTextBox";
CountTextBox.Size = new Size(232, 23);
CountTextBox.Size = new Size(265, 27);
CountTextBox.TabIndex = 1;
CountTextBox.TextChanged += CountTextBox_TextChanged;
//
// SumTextBox
//
SumTextBox.Location = new Point(103, 70);
SumTextBox.Location = new Point(118, 93);
SumTextBox.Margin = new Padding(3, 4, 3, 4);
SumTextBox.Name = "SumTextBox";
SumTextBox.ReadOnly = true;
SumTextBox.Size = new Size(232, 23);
SumTextBox.Size = new Size(265, 27);
SumTextBox.TabIndex = 2;
SumTextBox.TextChanged += SumTextBox_TextChanged;
//
// SaveButton
//
SaveButton.Location = new Point(173, 99);
SaveButton.Location = new Point(198, 132);
SaveButton.Margin = new Padding(3, 4, 3, 4);
SaveButton.Name = "SaveButton";
SaveButton.Size = new Size(81, 23);
SaveButton.Size = new Size(93, 31);
SaveButton.TabIndex = 3;
SaveButton.Text = "Сохранить";
SaveButton.UseVisualStyleBackColor = true;
@ -76,9 +80,10 @@
//
// CancelButton
//
CancelButton.Location = new Point(260, 99);
CancelButton.Location = new Point(297, 132);
CancelButton.Margin = new Padding(3, 4, 3, 4);
CancelButton.Name = "CancelButton";
CancelButton.Size = new Size(75, 23);
CancelButton.Size = new Size(86, 31);
CancelButton.TabIndex = 4;
CancelButton.Text = "Отмена";
CancelButton.UseVisualStyleBackColor = true;
@ -87,35 +92,35 @@
// IceCreamLabel
//
IceCreamLabel.AutoSize = true;
IceCreamLabel.Location = new Point(12, 15);
IceCreamLabel.Location = new Point(14, 20);
IceCreamLabel.Name = "IceCreamLabel";
IceCreamLabel.Size = new Size(81, 15);
IceCreamLabel.Size = new Size(103, 20);
IceCreamLabel.TabIndex = 5;
IceCreamLabel.Text = "Мороженное";
//
// CountLabel
//
CountLabel.AutoSize = true;
CountLabel.Location = new Point(12, 44);
CountLabel.Location = new Point(14, 59);
CountLabel.Name = "CountLabel";
CountLabel.Size = new Size(72, 15);
CountLabel.Size = new Size(90, 20);
CountLabel.TabIndex = 6;
CountLabel.Text = "Количество";
//
// SumLabel
//
SumLabel.AutoSize = true;
SumLabel.Location = new Point(12, 73);
SumLabel.Location = new Point(14, 97);
SumLabel.Name = "SumLabel";
SumLabel.Size = new Size(45, 15);
SumLabel.Size = new Size(55, 20);
SumLabel.TabIndex = 7;
SumLabel.Text = "Сумма";
//
// OrderForm
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(348, 128);
ClientSize = new Size(398, 171);
Controls.Add(SumLabel);
Controls.Add(CountLabel);
Controls.Add(IceCreamLabel);
@ -124,8 +129,9 @@
Controls.Add(SumTextBox);
Controls.Add(CountTextBox);
Controls.Add(IceCreamComboBox);
Margin = new Padding(3, 4, 3, 4);
Name = "OrderForm";
Text = "OrderForm";
Text = "Форма заказа";
Load += OrderForm_Load;
ResumeLayout(false);
PerformLayout();