F1 - Help Provider

The HelpProvider control is used to show how to link to specific keyword in a .chm help file.


private void mnuContentsHelp_Click(object sender, System.EventArgs e)
{
// Show the contents of the help file.
Help.ShowHelp(this, hpAdvancedCHM.HelpNamespace);
}

private void mnuIndexHelp_Click(object sender, System.EventArgs e)
{
// Show index of the help file.
Help.ShowHelpIndex(this, hpAdvancedCHM.HelpNamespace);
}

private void mnuSearchHelp_Click(object sender, System.EventArgs e)
{
// Show the search tab of the help file.
Help.ShowHelp(this, hpAdvancedCHM.HelpNamespace, HelpNavigator.Find, "");
}


Comments

No responses found. Be the first to comment...