Resources » Code Snippets » Winforms Controls

F1 - Help Provider

Last Updated:   Category: Winforms Controls    
Author: Member Level: Gold    Points: 15

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, "");

Did you like this resource? Share it with your friends and show your love!

Responses to "F1 - Help Provider"

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


Post Comment:

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)

    Type the numbers and letters shown on the left.

    Submit Article     Return to Article Index

    Subscribe to Subscribers
    Awards & Gifts
    Talk to Webmaster Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India