You can use Help
class in code, to provide these kinds of help:
You can use Help.ShowPopup
to display a help pop-up window:
private void control_MouseClick(object sender, MouseEventArgs e)
{
var c = (Control)sender;
var help = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " +
"sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
if (c != null)
Help.ShowPopup(c, "Lorem ipsum dolor sit amet.", c.PointToScreen(e.Location));
}
It will show such help pop-up at your mouse pointer location:
You can use different overloads of Help.ShowHelp
method, to show a CHM file and navigate to a keyword, a topic, index or table of content:
Help.ShowHelp(this, "Help.chm");
Help.ShowHelp(this, "Help.chm", HelpNavigator.Index, "SomeKeyword");
Help.ShowHelp(this, "Help.chm", HelpNavigator.Topic, "/SomePath/SomePage.html");
You can show any URL in default browser using ShowHelp
method:
Help.ShowHelp(this, "Http://example.com");