System.Windows.Forms.Help.ShowHelp Method

Displays the contents of the Help file found at the specified URL for a specific topic.

Syntax

public static void ShowHelp (Control parent, string url, HelpNavigator navigator)

Parameters

parent
A System.Windows.Forms.Control that identifies the parent of the Help dialog box.
url
The path and name of the Help file.
navigator
One of the System.Windows.Forms.HelpNavigator values.

Remarks

The url parameter can be of the form C:\path\sample.chm or /folder/file.htm.

Compiled Help files provide table of contents, index, search, and keyword links in pages. You can use the following values for the navigator parameter: HelpNavigator.TableOfContents, HelpNavigator.Find, HelpNavigator.Index, or HelpNavigator.Topic.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0