Пример #1
0
        private void textSpellcheckExecutionDelay_MouseDown(object sender, MouseButtonEventArgs e)
        {
            detailEdit detailEdit = new detailEdit();

            detailEdit.SetupMsgBox("Time to delay Spellcheck execution (in ms).", Properties.Settings.Default.spellcheckExecutionDelay.ToString(), "Input", true);
            if (detailEdit.ShowDialog() == true)
            {
                spellcheckExecutionDelay = Int32.Parse(detailEdit.text);
            }
        }
Пример #2
0
        private void textAutosaveInterval_MouseDown(object sender, MouseButtonEventArgs e)
        {
            detailEdit detailEdit = new detailEdit();

            detailEdit.SetupMsgBox("Save documents every (in min).", (Properties.Settings.Default.autosaveInterval / 60000).ToString(), "Input", true);
            if (detailEdit.ShowDialog() == true)
            {
                autosaveInterval = Int32.Parse(detailEdit.text) * 60000;
            }
        }
Пример #3
0
        private void textAutoDeleteTime_MouseDown(object sender, MouseButtonEventArgs e)
        {
            detailEdit detailEdit = new detailEdit();

            detailEdit.SetupMsgBox("Time to delete logs after (in days).", Properties.Settings.Default.autoDeleteLogsDays.ToString(), "Input", true);
            if (detailEdit.ShowDialog() == true)
            {
                logStoreDays = Int32.Parse(detailEdit.text);
            }
        }