DarkTextBox control

This commit is contained in:
Robin 2015-09-18 10:36:50 +01:00
parent 784e3b69b7
commit 0d46ab2790
3 changed files with 23 additions and 1 deletions

View 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
}
}

View File

@ -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>

View File

@ -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;
//