Ejemplo n.º 1
0
 private void OpenOptionsDialogCore() {
     bool checkForIllegalCrossThreadCalls = CheckForIllegalCrossThreadCalls;
     CheckForIllegalCrossThreadCalls = false;
     using(optionsDialog = new OptionsDialog(pluginManager, odCallback_DialogResult)) {
         TMPfNowOptionDialogOpening = false;
         optionsDialog.ShowDialog();
     }
     optionsDialog = null;
     fOptionDialogCreated = false;
     CheckForIllegalCrossThreadCalls = checkForIllegalCrossThreadCalls;
 }
Ejemplo n.º 2
0
 private void OpenOptionsDialogCore() {
     bool checkForIllegalCrossThreadCalls = Control.CheckForIllegalCrossThreadCalls;
     Control.CheckForIllegalCrossThreadCalls = false;
     using(optionsDialog = new OptionsDialog(this.pluginManager, new FormMethodInvoker(this.odCallback_DialogResult))) {
         TMPfNowOptionDialogOpening = false;
         optionsDialog.ShowDialog();
     }
     optionsDialog = null;
     this.fOptionDialogCreated = false;
     Control.CheckForIllegalCrossThreadCalls = checkForIllegalCrossThreadCalls;
 }