Light/Dark themer added for Winform title bar

This commit is contained in:
Usman Shafiq
2022-03-23 19:21:34 -04:00
parent dbfa7478b7
commit c9bd9cd9d3
5 changed files with 103 additions and 3 deletions

19
WinformBase.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VRCX
{
public class WinformBase : Form
{
protected override void OnHandleCreated(EventArgs e)
{
WinformThemer.SetThemeToGlobal(this);
base.OnHandleCreated(e);
}
}
}