private void Save() { if (SettingsList.Instance.StartWithWindows != StartWithWindows) { ChangeStartWithWindowsSetting(StartWithWindows); } SettingsList.Instance.MinimizeOnExit = MinimizeOnExit; SettingsList.Instance.StartWithWindows = StartWithWindows; SettingsList.Instance.StartMinimized = StartMinimized; SettingsList.Save(); OnCloseSettingsAction?.Invoke(); }
private void Cancel() { OnCloseSettingsAction?.Invoke(); }