本文整理汇总了C#中System.Windows.Forms.Help.ShowHelp方法的典型用法代码示例。如果您正苦于以下问题:C# Help.ShowHelp方法的具体用法?C# Help.ShowHelp怎么用?C# Help.ShowHelp使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Windows.Forms.Help
的用法示例。
在下文中一共展示了Help.ShowHelp方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Button1_Click
// Open the Help file for the Character Map topic.
private void Button1_Click(System.Object sender, System.EventArgs e)
{
Help.ShowHelp(TextBox1, "file://c:\\charmap.chm");
}
示例2: showKeyword_Click
private void showKeyword_Click(object sender, System.EventArgs e)
{
// Display help using the provided keyword.
Help.ShowHelp(this, helpfile, keyword.Text);
}
示例3: Button2_Click
// Open the Help file for the Character Map topic and
// display the Index page.
private void Button2_Click(System.Object sender, System.EventArgs e)
{
Help.ShowHelp(TextBox1, "file://c:\\charmap.chm",
HelpNavigator.Index);
}
示例4: showHelp_Click
private void showHelp_Click(object sender, System.EventArgs e)
{
// Display Help using the Help navigator enumeration
// that is selected in the combo box. Some enumeration
// values make use of an extra parameter, which can
// be passed in through the Parameter text box.
HelpNavigator navigator = HelpNavigator.TableOfContents;
if (navigatorCombo.SelectedItem != null)
{
navigator = (HelpNavigator)navigatorCombo.SelectedItem;
}
Help.ShowHelp(this, helpfile, navigator, parameterTextBox.Text);
}