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