diff --git a/DarkUI/DarkUI.csproj b/DarkUI/DarkUI.csproj index cc560d8..3183636 100644 --- a/DarkUI/DarkUI.csproj +++ b/DarkUI/DarkUI.csproj @@ -43,6 +43,9 @@ Component + + Form + diff --git a/DarkUI/Forms/DarkForm.cs b/DarkUI/Forms/DarkForm.cs new file mode 100644 index 0000000..2e5532d --- /dev/null +++ b/DarkUI/Forms/DarkForm.cs @@ -0,0 +1,16 @@ +using System.Windows.Forms; + +namespace DarkUI +{ + public class DarkForm : Form + { + #region Constructor Region + + public DarkForm() + { + BackColor = Colors.GreyBackground; + } + + #endregion + } +} diff --git a/Example/Forms/MainForm.cs b/Example/Forms/MainForm.cs index d2c94b0..0ced87d 100644 --- a/Example/Forms/MainForm.cs +++ b/Example/Forms/MainForm.cs @@ -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() {