public void Show() { using (var window = new FwHelpAbout()) { window.Show(); Application.DoEvents(); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Show Help About dialog /// </summary> /// <param name="args"></param> /// <returns></returns> /// ------------------------------------------------------------------------------------ protected bool OnHelpAbout(object args) { // FwHelpAbout fHelpAboutWnd = new FwHelpAbout(FwApp.App.DropDeadDate); using (FwHelpAbout fHelpAboutWnd = new FwHelpAbout()) { fHelpAboutWnd.ShowDialog(); } return true; }
/// ------------------------------------------------------------------------------------ /// <summary> /// Show About box /// </summary> /// ------------------------------------------------------------------------------------ public bool ShowHelpAbout() { using (FwHelpAbout helpAboutWnd = new FwHelpAbout()) { helpAboutWnd.ProductExecutableAssembly = Assembly.LoadFile(m_app.ProductExecutableFile); helpAboutWnd.ShowDialog(); } return true; }