mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-02 07:09:27 +03:00
Added DarkForm
This commit is contained in:
parent
62c6fce171
commit
b45f0d1d82
@ -43,6 +43,9 @@
|
||||
<Compile Include="Controls\DarkButton.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\DarkForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
16
DarkUI/Forms/DarkForm.cs
Normal file
16
DarkUI/Forms/DarkForm.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace DarkUI
|
||||
{
|
||||
public class DarkForm : Form
|
||||
{
|
||||
#region Constructor Region
|
||||
|
||||
public DarkForm()
|
||||
{
|
||||
BackColor = Colors.GreyBackground;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -1,8 +1,9 @@
|
||||
using System.Windows.Forms;
|
||||
using DarkUI;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Example
|
||||
{
|
||||
public partial class MainForm : Form
|
||||
public partial class MainForm : DarkForm
|
||||
{
|
||||
public MainForm()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user