コード例 #1
0
 public void Dispose()
 {
     MouseHook.Hook.Enabled         = false;
     MouseHook.Hook.OnMouseMessage -= mouseHook_OnMouseMessage;
     Microsoft.Win32.SystemEvents.DisplaySettingsChanged -= SystemEvents_DisplaySettingsChanged;
     Instance = null;
 }
コード例 #2
0
 static NonStuckMouse()
 {
     Instance = new NonStuckMouse();
     Instance.Init();
 }