示例#1
0
        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();
        }
示例#2
0
 private void Cancel()
 {
     OnCloseSettingsAction?.Invoke();
 }