コード例 #1
0
 private void Action_Settings(object sender, EventArgs e)
 {
     SafeExecutionContext.Execute(
         this,
         () =>
     {
         var settingsForm = new FrmSettings(this.settings, this.extensionManager, this.styleManager);
         if (settingsForm.ShowDialog() == DialogResult.OK)
         {
             this.UpdateSettings();
         }
     });
 }
コード例 #2
0
ファイル: FrmMain.cs プロジェクト: hhqqnu/CloudNotes
 private void Action_Settings(object sender, EventArgs e)
 {
     SafeExecutionContext.Execute(
         this,
         () =>
         {
             var settingsForm = new FrmSettings(this.settings, this.extensionManager, this.styleManager);
             if (settingsForm.ShowDialog() == DialogResult.OK)
             {
                 this.UpdateSettings();
             }
         });
 }