private void aboutToolStripMenuItem_Click(object sender, EventArgs e) { var mFrmAboutBox = new frmAboutBox(); mFrmAboutBox.ShowDialog(); mFrmAboutBox = null; }
private void ShowAboutForm(object sender, EventArgs e) { frmAboutBox AboutForm = new frmAboutBox(); AboutForm.MdiParent = this; AboutForm.StartPosition = FormStartPosition.CenterScreen; AboutForm.Show(); }
private void btnAbout_Click(object sender, RoutedEventArgs e) { frmAboutBox fa = new frmAboutBox(); fa.Show(); }