// 显示帮助目录
private void miContent_Click(object sender, System.EventArgs e)
{
Help.ShowHelp(this,"C://WINNT//Help//Gstart.chm" );
}
// 显示帮助索引
private void miIndex_Click(object sender, System.EventArgs e)
{
Help.ShowHelpIndex(this,"C://WINNT//Help//Gstart.chm" );
}
// 显示搜索页面
private void miSearch_Click(object sender, System.EventArgs e)
{
Help.ShowHelp(this,"C://WINNT//Help//Gstart.chm",HelpNavigator.Find,"" );
}
// 在状态栏中动态显示菜单项的提示信息
private void DisplayMenuItemTip(object sender, System. Event Args e)
{
if( sender == miContent )
statusBar1.Text = "显示帮助文件的目录";
else if( sender == miIndex )
statusBar1.Text = "显示帮助文件的索引";
else
statusBar1.Text = "显示帮助文件的搜索页面";
}
private void miContent_Click(object sender, System.EventArgs e)
{
Help.ShowHelp(this,"C://WINNT//Help//Gstart.chm" );
}
// 显示帮助索引
private void miIndex_Click(object sender, System.EventArgs e)
{
Help.ShowHelpIndex(this,"C://WINNT//Help//Gstart.chm" );
}
// 显示搜索页面
private void miSearch_Click(object sender, System.EventArgs e)
{
Help.ShowHelp(this,"C://WINNT//Help//Gstart.chm",HelpNavigator.Find,"" );
}
// 在状态栏中动态显示菜单项的提示信息
private void DisplayMenuItemTip(object sender, System. Event Args e)
{
if( sender == miContent )
statusBar1.Text = "显示帮助文件的目录";
else if( sender == miIndex )
statusBar1.Text = "显示帮助文件的索引";
else
statusBar1.Text = "显示帮助文件的搜索页面";
}