/// <summary> /// statis method to display passed in help text /// </summary> /// <param name="helpText"></param> /// <param name="DialogTitle"></param> public static void DisplayDefaultHelp(string DialogTitle, String helpText) { Assembly a = Assembly.GetExecutingAssembly(); About frmAbout = new About(a); frmAbout.Message = string.Format(helpText, System.Diagnostics.FileVersionInfo.GetVersionInfo(a.Location).FileVersion); frmAbout.ShowDialog(); }
/// <summary> /// static method to display default help dialog /// </summary> public static void DisplayDefaultHelp() { Assembly a = Assembly.GetExecutingAssembly(); string message = string.Format(_help, System.Diagnostics.FileVersionInfo.GetVersionInfo(a.Location).FileVersion); About frmAbout = new About(a, message); frmAbout.ShowDialog(); }