private void btnMaps_Click(object sender, EventArgs e) { if (this.fMaps?.Visible ?? false) { this.fMaps.Activate(); } else { if (this.fMaps == null || this.fMaps.IsDisposed) { this.fMaps = new formMaps(); } this.fMaps.Show(this); } return; }
private void btnMaps_Click(object sender, EventArgs e) { if (this.fMaps?.Visible ?? false) this.fMaps.Activate(); else { if (this.fMaps == null || this.fMaps.IsDisposed) this.fMaps = new formMaps(); this.fMaps.Show(this); } return; }