コード例 #1
0
 private void Edit(HotkeySelectionControl selectionControl)
 {
     using (TaskSettingsForm taskSettingsForm = new TaskSettingsForm(selectionControl.Setting.TaskSettings))
     {
         taskSettingsForm.ShowDialog();
         selectionControl.UpdateDescription();
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: savannaking/ShareX
        private void tsbTaskSettings_Click(object sender, EventArgs e)
        {
            using (TaskSettingsForm taskSettingsForm = new TaskSettingsForm(Program.DefaultTaskSettings, true))
            {
                taskSettingsForm.ShowDialog();
            }

            Program.Settings.SaveAsync(Program.ApplicationConfigFilePath);
        }
コード例 #3
0
 private void Edit(HotkeySelectionControl selectionControl)
 {
     using (TaskSettingsForm taskSettingsForm = new TaskSettingsForm(selectionControl.Setting.TaskSettings))
     {
         taskSettingsForm.ShowDialog();
         selectionControl.UpdateDescription();
     }
 }