mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-01 14:49:28 +03:00
DarkTextBox control
This commit is contained in:
parent
784e3b69b7
commit
0d46ab2790
19
DarkUI/Controls/DarkTextBox.cs
Normal file
19
DarkUI/Controls/DarkTextBox.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace DarkUI
|
||||
{
|
||||
public class DarkTextBox : TextBox
|
||||
{
|
||||
#region Constructor Region
|
||||
|
||||
public DarkTextBox()
|
||||
{
|
||||
BackColor = Colors.LightBackground;
|
||||
ForeColor = Colors.LightText;
|
||||
Padding = new Padding(2, 2, 2, 2);
|
||||
BorderStyle = BorderStyle.FixedSingle;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -58,6 +58,9 @@
|
||||
<Compile Include="Controls\DarkStatusStrip.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\DarkTextBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Controls\DarkToolStrip.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
|
2
Example/Forms/MainForm.Designer.cs
generated
2
Example/Forms/MainForm.Designer.cs
generated
@ -526,7 +526,7 @@
|
||||
//
|
||||
this.toolStripStatusLabel6.Margin = new System.Windows.Forms.Padding(0, 0, 50, 2);
|
||||
this.toolStripStatusLabel6.Name = "toolStripStatusLabel6";
|
||||
this.toolStripStatusLabel6.Size = new System.Drawing.Size(230, 14);
|
||||
this.toolStripStatusLabel6.Size = new System.Drawing.Size(261, 14);
|
||||
this.toolStripStatusLabel6.Spring = true;
|
||||
this.toolStripStatusLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user