Exemplo n.º 1
0
 private void Edit(HotkeySelectionControl selectionControl)
 {
     using (TaskSettingsForm taskSettingsForm = new TaskSettingsForm(selectionControl.Setting.TaskSettings))
     {
         taskSettingsForm.ShowDialog();
         selectionControl.UpdateDescription();
     }
 }
Exemplo n.º 2
0
        private void tsbTaskSettings_Click(object sender, EventArgs e)
        {
            using (TaskSettingsForm taskSettingsForm = new TaskSettingsForm(Program.DefaultTaskSettings, true))
            {
                taskSettingsForm.ShowDialog();
            }

            Program.Settings.SaveAsync(Program.ApplicationConfigFilePath);
        }
Exemplo n.º 3
0
 private void Edit(HotkeySelectionControl selectionControl)
 {
     using (TaskSettingsForm taskSettingsForm = new TaskSettingsForm(selectionControl.Setting.TaskSettings))
     {
         taskSettingsForm.ShowDialog();
         selectionControl.UpdateDescription();
     }
 }