private void btnAbout_Click(object sender, EventArgs e) { AboutForm frmAbout = new AboutForm(); frmAbout.Show(); frmAbout.Activate(); }
public static void ShowAboutForm() { if (frmAboutForm != null && !frmAboutForm.IsDisposed) { frmAboutForm.Activate(); return; } frmAboutForm = new AboutForm(); frmAboutForm.Show(); frmAboutForm.Activate(); }
private void aboutButton_Click(object sender, EventArgs e) { if (af != null) af.Close(); af = new AboutForm(); af.Activate(); af.Show(); }