Exemplo n.º 1
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     if (this.fSettings?.Visible ?? false)
     {
         this.fSettings.Activate();
     }
     else
     {
         if (this.fSettings == null || this.fSettings.IsDisposed)
         {
             this.fSettings = new formSettings();
         }
         this.fSettings.ShowDialog(this);
     }
     return;
 }
Exemplo n.º 2
0
 private void btnSettings_Click(object sender, EventArgs e)
 {
     if (this.fSettings?.Visible ?? false)
         this.fSettings.Activate();
     else
     {
         if (this.fSettings == null || this.fSettings.IsDisposed)
             this.fSettings = new formSettings();
         this.fSettings.ShowDialog(this);
     }
     return;
 }