Moved PInvoke stuff to seperate class, Added jank force refresh of window on theme change

This commit is contained in:
Usman Shafiq
2022-03-23 22:12:35 -04:00
parent c9bd9cd9d3
commit 8b66fd5825
7 changed files with 303 additions and 18 deletions
+26
View File
@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace VRCX
{
public partial class InvisPopup : Form
{
public InvisPopup()
{
InitializeComponent();
}
protected override void SetVisibleCore(bool value)
{
this.WindowState = FormWindowState.Minimized;
base.SetVisibleCore(value);
}
}
}