private void commandButton1_Click(object sender, EventArgs e) { if (_prelimRaceForm == null) { _prelimRaceForm = new FormPrelimRace(); _prelimRaceForm.Show(); } else { if (_prelimRaceForm.IsDisposed) { _prelimRaceForm = new FormPrelimRace(); _prelimRaceForm.Show(); } else { _prelimRaceForm.Focus(); } } }
private void commandButton1_Click(object sender, EventArgs e) { if (_prelimRaceForm == null) { _prelimRaceForm = new FormPrelimRace(); _prelimRaceForm.Show(); } else { if (_prelimRaceForm.IsDisposed) { _prelimRaceForm = new FormPrelimRace(); _prelimRaceForm.Show(); } else { _prelimRaceForm.Focus(); } } }