Exemple #1
0
 public override void OnOptionMenuClick()
 {
     using (var dlg = new QuakeLiveOptionsDialog())
     {
         dlg.Text          = "Options for Reflex";
         dlg.UseKeystrokes = this.useKeystrokesToConnect;
         if (dlg.ShowDialog(Form.ActiveForm) != DialogResult.OK)
         {
             return;
         }
         this.useKeystrokesToConnect = dlg.UseKeystrokes;
     }
 }
 public override void OnOptionMenuClick()
 {
     using (var dlg = new QuakeLiveOptionsDialog())
     {
         dlg.UseKeystrokes = this.useKeystrokesToConnect;
         dlg.StartExtraQL  = this.startExtraQL;
         if (dlg.ShowDialog(Form.ActiveForm) != DialogResult.OK)
         {
             return;
         }
         this.useKeystrokesToConnect = dlg.UseKeystrokes;
         this.startExtraQL           = dlg.StartExtraQL;
     }
 }