Пример #1
0
        private void buttonSave_OnClick(object sender, RoutedEventArgs e)
        {
            UserData.setWorkDuration(iudWorkDuration.Value.Value);
            UserData.setTrayIconColor(cpTrayIcon.SelectedColor.Value);
            UserData.setBreaks(lBreak.ToList());
            UserData.setSubtitles(lSubtitle.ToList());
            UserData.setThresholds(lThreshold.ToList());

            Close();
        }