예제 #1
0
 public void Init()
 {
     //Loads the settings
     SerializeStatic.Load(typeof(Settings));
     RegisterHotkey();
     Settings.OnSettingsChanged += Settings_OnSettingsChanged;
 }
예제 #2
0
 public void Shutdown()
 {
     SerializeStatic.Save(typeof(Settings));
 }
예제 #3
0
 public void Init()
 {
     //Loads the settings
     SerializeStatic.Load(typeof(Settings));
 }
예제 #4
0
 public void Shutdown()
 {
     Hook.UnregisterHotkeys();
     SerializeStatic.Save(typeof(Settings));
 }
예제 #5
0
 private void Window_Closed(object sender, EventArgs e)
 {
     SerializeStatic.Save(typeof(Settings));
 }