public static void AboutDialog() { using (var fmAbout = new AboutDlg()) { fmAbout.lblProduct.Text = "PI Browser"; fmAbout.lblVersion.Text = "Version " + PIBUtils.GetFileVersion(); fmAbout.lblCopyright.Text = "© 2007-2012, 2017 Sergey V. Zhdanovskih"; fmAbout.lblMail.Text = "mailto:[email protected]"; fmAbout.ShowDialog(); } }
public void tbAboutClick(object sender, EventArgs e) { AboutDlg.AboutDialog(); }