Example #1
0
 private void btnChampions_Click(object sender, EventArgs e)
 {
     if (this.fChampions?.Visible ?? false)
     {
         this.fChampions.Activate();
     }
     else
     {
         if (this.fChampions == null || this.fChampions.IsDisposed)
         {
             this.fChampions = new formChampions();
         }
         this.fChampions.Show(this);
     }
     return;
 }
Example #2
0
 private void btnChampions_Click(object sender, EventArgs e)
 {
     if (this.fChampions?.Visible ?? false)
         this.fChampions.Activate();
     else
     {
         if (this.fChampions == null || this.fChampions.IsDisposed)
             this.fChampions = new formChampions();
         this.fChampions.Show(this);
     }
     return;
 }