c#中怎么按F1调用我的xx.chm帮助文件...我在Visual Studio.net。c#中做了一个软件。但不知道怎么
F1调用我的xx.chm帮助文件。急啊

解决方案 »

  1.   

    keydown事件里
    if (e.KeyCode==Keys.F1)
    {
       Help.ShowHelp(this,@"d:\a.chm");
    }
      

  2.   

    注册窗体的HelpRequested事件后,按F1就直接调用这个事件过程中的内容
      

  3.   

    不知道怎么实现c#中按F1调用我的xx.chm帮助文件...我在Visual Studio.net。c#中做了一个软件。但不知道怎么F1实现调用我的xx.chm帮助文件。。代码是什么。。
      

  4.   

    注册窗体的HelpRequested事件后,在事件中添加代码:System.Diagnostics.Process.Start(this.helpProvider1.HelpNamespace);就可以解决了.
      

  5.   

    System.Windows.Forms.HelpProvider 类 ,参考msdn,
    ms-help://MS.MSDNQTR.v80.chs/MS.MSDN.v80/MS.NETDEVFX.v20.chs/CPref17/html/T_System_Windows_Forms_HelpProvider.htm