mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Moved PInvoke stuff to seperate class, Added jank force refresh of window on theme change
This commit is contained in:
10
MainForm.cs
10
MainForm.cs
@@ -169,5 +169,15 @@ namespace VRCX
|
||||
{
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
WinformThemer.SetGlobalTheme(1);
|
||||
}
|
||||
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
WinformThemer.SetGlobalTheme(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user