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