Изменил названия форм

This commit is contained in:
gg12 darfren 2024-02-13 13:37:20 +04:00
parent 1d3258f5ad
commit 920f384004
4 changed files with 32 additions and 42 deletions

View File

@ -38,45 +38,42 @@
// //
// NameTextBox // NameTextBox
// //
NameTextBox.Location = new Point(92, 13); NameTextBox.Location = new Point(80, 10);
NameTextBox.Margin = new Padding(3, 4, 3, 4);
NameTextBox.Name = "NameTextBox"; NameTextBox.Name = "NameTextBox";
NameTextBox.Size = new Size(277, 27); NameTextBox.Size = new Size(243, 23);
NameTextBox.TabIndex = 0; NameTextBox.TabIndex = 0;
// //
// CostTextBox // CostTextBox
// //
CostTextBox.Location = new Point(92, 56); CostTextBox.Location = new Point(80, 42);
CostTextBox.Margin = new Padding(3, 4, 3, 4);
CostTextBox.Name = "CostTextBox"; CostTextBox.Name = "CostTextBox";
CostTextBox.Size = new Size(135, 27); CostTextBox.Size = new Size(119, 23);
CostTextBox.TabIndex = 1; CostTextBox.TabIndex = 1;
// //
// NameLabel // NameLabel
// //
NameLabel.AutoSize = true; NameLabel.AutoSize = true;
NameLabel.Location = new Point(8, 27); NameLabel.Location = new Point(7, 20);
NameLabel.Name = "NameLabel"; NameLabel.Name = "NameLabel";
NameLabel.Size = new Size(77, 20); NameLabel.Size = new Size(59, 15);
NameLabel.TabIndex = 2; NameLabel.TabIndex = 2;
NameLabel.Text = "Название"; NameLabel.Text = "Название";
// //
// CostLabel // CostLabel
// //
CostLabel.AutoSize = true; CostLabel.AutoSize = true;
CostLabel.Location = new Point(8, 65); CostLabel.Location = new Point(7, 49);
CostLabel.Name = "CostLabel"; CostLabel.Name = "CostLabel";
CostLabel.Size = new Size(45, 20); CostLabel.Size = new Size(35, 15);
CostLabel.TabIndex = 3; CostLabel.TabIndex = 3;
CostLabel.Text = "Цена"; CostLabel.Text = "Цена";
// //
// CancelButton // CancelButton
// //
CancelButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; CancelButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
CancelButton.Location = new Point(282, 91); CancelButton.Location = new Point(247, 68);
CancelButton.Margin = new Padding(3, 4, 3, 4);
CancelButton.Name = "CancelButton"; CancelButton.Name = "CancelButton";
CancelButton.Size = new Size(86, 31); CancelButton.Size = new Size(75, 23);
CancelButton.TabIndex = 4; CancelButton.TabIndex = 4;
CancelButton.Text = "Отмена"; CancelButton.Text = "Отмена";
CancelButton.UseVisualStyleBackColor = true; CancelButton.UseVisualStyleBackColor = true;
@ -85,10 +82,9 @@
// SaveButton // SaveButton
// //
SaveButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; SaveButton.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
SaveButton.Location = new Point(189, 91); SaveButton.Location = new Point(165, 68);
SaveButton.Margin = new Padding(3, 4, 3, 4);
SaveButton.Name = "SaveButton"; SaveButton.Name = "SaveButton";
SaveButton.Size = new Size(86, 31); SaveButton.Size = new Size(75, 23);
SaveButton.TabIndex = 5; SaveButton.TabIndex = 5;
SaveButton.Text = "Сохранить"; SaveButton.Text = "Сохранить";
SaveButton.UseVisualStyleBackColor = true; SaveButton.UseVisualStyleBackColor = true;
@ -96,19 +92,18 @@
// //
// ComponentForm // ComponentForm
// //
AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
AutoSizeMode = AutoSizeMode.GrowAndShrink; AutoSizeMode = AutoSizeMode.GrowAndShrink;
ClientSize = new Size(381, 129); ClientSize = new Size(333, 97);
Controls.Add(SaveButton); Controls.Add(SaveButton);
Controls.Add(CancelButton); Controls.Add(CancelButton);
Controls.Add(CostLabel); Controls.Add(CostLabel);
Controls.Add(NameLabel); Controls.Add(NameLabel);
Controls.Add(CostTextBox); Controls.Add(CostTextBox);
Controls.Add(NameTextBox); Controls.Add(NameTextBox);
Margin = new Padding(3, 4, 3, 4);
Name = "ComponentForm"; Name = "ComponentForm";
Text = "Компонент"; Text = "ComponentForm";
Load += ComponentForm_Load; Load += ComponentForm_Load;
ResumeLayout(false); ResumeLayout(false);
PerformLayout(); PerformLayout();

View File

@ -95,7 +95,7 @@
Controls.Add(AddButton); Controls.Add(AddButton);
Controls.Add(DataGridView); Controls.Add(DataGridView);
Name = "ComponentsForm"; Name = "ComponentsForm";
Text = "Компоненты"; Text = "ComponentsForm";
Load += ComponentsForm_Load; Load += ComponentsForm_Load;
((System.ComponentModel.ISupportInitialize)DataGridView).EndInit(); ((System.ComponentModel.ISupportInitialize)DataGridView).EndInit();
ResumeLayout(false); ResumeLayout(false);

View File

@ -39,44 +39,41 @@
// ComponentLabel // ComponentLabel
// //
ComponentLabel.AutoSize = true; ComponentLabel.AutoSize = true;
ComponentLabel.Location = new Point(14, 12); ComponentLabel.Location = new Point(12, 9);
ComponentLabel.Name = "ComponentLabel"; ComponentLabel.Name = "ComponentLabel";
ComponentLabel.Size = new Size(88, 20); ComponentLabel.Size = new Size(69, 15);
ComponentLabel.TabIndex = 0; ComponentLabel.TabIndex = 0;
ComponentLabel.Text = "Компонент"; ComponentLabel.Text = "Компонент";
// //
// CountLabel // CountLabel
// //
CountLabel.AutoSize = true; CountLabel.AutoSize = true;
CountLabel.Location = new Point(14, 53); CountLabel.Location = new Point(12, 40);
CountLabel.Name = "CountLabel"; CountLabel.Name = "CountLabel";
CountLabel.Size = new Size(90, 20); CountLabel.Size = new Size(72, 15);
CountLabel.TabIndex = 1; CountLabel.TabIndex = 1;
CountLabel.Text = "Количество"; CountLabel.Text = "Количество";
// //
// CountTextBox // CountTextBox
// //
CountTextBox.Location = new Point(99, 49); CountTextBox.Location = new Point(87, 37);
CountTextBox.Margin = new Padding(3, 4, 3, 4);
CountTextBox.Name = "CountTextBox"; CountTextBox.Name = "CountTextBox";
CountTextBox.Size = new Size(333, 27); CountTextBox.Size = new Size(292, 23);
CountTextBox.TabIndex = 2; CountTextBox.TabIndex = 2;
// //
// ComboBox // ComboBox
// //
ComboBox.FormattingEnabled = true; ComboBox.FormattingEnabled = true;
ComboBox.Location = new Point(99, 8); ComboBox.Location = new Point(87, 6);
ComboBox.Margin = new Padding(3, 4, 3, 4);
ComboBox.Name = "ComboBox"; ComboBox.Name = "ComboBox";
ComboBox.Size = new Size(333, 28); ComboBox.Size = new Size(292, 23);
ComboBox.TabIndex = 3; ComboBox.TabIndex = 3;
// //
// SaveButton // SaveButton
// //
SaveButton.Location = new Point(249, 88); SaveButton.Location = new Point(218, 66);
SaveButton.Margin = new Padding(3, 4, 3, 4);
SaveButton.Name = "SaveButton"; SaveButton.Name = "SaveButton";
SaveButton.Size = new Size(86, 31); SaveButton.Size = new Size(75, 23);
SaveButton.TabIndex = 4; SaveButton.TabIndex = 4;
SaveButton.Text = "Сохранить"; SaveButton.Text = "Сохранить";
SaveButton.UseVisualStyleBackColor = true; SaveButton.UseVisualStyleBackColor = true;
@ -84,10 +81,9 @@
// //
// CancelButton // CancelButton
// //
CancelButton.Location = new Point(342, 88); CancelButton.Location = new Point(299, 66);
CancelButton.Margin = new Padding(3, 4, 3, 4);
CancelButton.Name = "CancelButton"; CancelButton.Name = "CancelButton";
CancelButton.Size = new Size(86, 31); CancelButton.Size = new Size(75, 23);
CancelButton.TabIndex = 5; CancelButton.TabIndex = 5;
CancelButton.Text = "Отмена"; CancelButton.Text = "Отмена";
CancelButton.UseVisualStyleBackColor = true; CancelButton.UseVisualStyleBackColor = true;
@ -95,18 +91,17 @@
// //
// IceCreamComponentForm // IceCreamComponentForm
// //
AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(447, 128); ClientSize = new Size(391, 96);
Controls.Add(CancelButton); Controls.Add(CancelButton);
Controls.Add(SaveButton); Controls.Add(SaveButton);
Controls.Add(ComboBox); Controls.Add(ComboBox);
Controls.Add(CountTextBox); Controls.Add(CountTextBox);
Controls.Add(CountLabel); Controls.Add(CountLabel);
Controls.Add(ComponentLabel); Controls.Add(ComponentLabel);
Margin = new Padding(3, 4, 3, 4);
Name = "IceCreamComponentForm"; Name = "IceCreamComponentForm";
Text = "Компонент мороженного"; Text = "IceCreamComponentForm";
ResumeLayout(false); ResumeLayout(false);
PerformLayout(); PerformLayout();
} }

View File

@ -198,7 +198,7 @@
Controls.Add(PriceLabel); Controls.Add(PriceLabel);
Controls.Add(NameLabel); Controls.Add(NameLabel);
Name = "IceCreamForm"; Name = "IceCreamForm";
Text = "Мороженное"; Text = "IceCreamForm";
Load += IceCreamForm_Load; Load += IceCreamForm_Load;
ComponentsGroupBox.ResumeLayout(false); ComponentsGroupBox.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)DataGridView).EndInit(); ((System.ComponentModel.ISupportInitialize)DataGridView).EndInit();