Skip to content

Commit

Permalink
WinLabel added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lufzys committed Mar 21, 2021
1 parent ec0b621 commit 607d970
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
18 changes: 17 additions & 1 deletion WindowsUI/Demo/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions WindowsUI/WindowsUI/Controls/WinLabel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsUI.Controls
{
public class WinLabel : Label
{
public WinLabel()
{
this.Font = new Font("Segoe UI Semibold", 9f);
this.ForeColor = Color.White;
}
}
}
3 changes: 3 additions & 0 deletions WindowsUI/WindowsUI/WindowsUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
<Compile Include="Controls\WinColorPicker.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\WinLabel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="Controls\WinTextbox.cs">
<SubType>Component</SubType>
</Compile>
Expand Down

0 comments on commit 607d970

Please sign in to comment.