111,094
社区成员




string stringfiles = Application.StartupPath + @"\dghelp.chm";
THS.Tools.HelpFile.OpenHelpFile(this);
/// <summary>
/// 帮助文档,默认文档为dghelp.chm
/// </summary>
/// <param name="obj"></param>
public static void OpenHelpFile(System.Windows.Forms.Control controls)
{
object obj = "";
filestr = Application.StartupPath + @"\dghelp.chm";
HelpNavigator navigator = HelpNavigator.KeywordIndex;
if (!string.IsNullOrEmpty(controls.Text))
{
obj = controls.Text;
}
Help.ShowHelp(controls, filestr, navigator, obj);
}