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; }
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; }