Все работает

This commit is contained in:
Илья 2024-11-05 20:05:11 +04:00
parent c14f3a0b73
commit 989476e579
8 changed files with 5 additions and 3 deletions

View File

@ -37,19 +37,21 @@
// //
textBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; textBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
textBox.Location = new Point(0, 0); textBox.Location = new Point(0, 0);
textBox.Margin = new Padding(3, 4, 3, 4);
textBox.Name = "textBox"; textBox.Name = "textBox";
textBox.Size = new Size(213, 23); textBox.Size = new Size(247, 27);
textBox.TabIndex = 0; textBox.TabIndex = 0;
textBox.TextChanged += TextBox_TextChanged; textBox.TextChanged += TextBox_TextChanged;
textBox.MouseEnter += TextBox_MouseEnter; textBox.MouseEnter += TextBox_MouseEnter;
// //
// TextBoxControl // TextBoxControl
// //
AutoScaleDimensions = new SizeF(7F, 15F); AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
Controls.Add(textBox); Controls.Add(textBox);
Margin = new Padding(3, 4, 3, 4);
Name = "TextBoxControl"; Name = "TextBoxControl";
Size = new Size(216, 26); Size = new Size(247, 35);
ResumeLayout(false); ResumeLayout(false);
PerformLayout(); PerformLayout();
} }