简体   繁体   English

在Visual Studio 2010中识别Windows应用程序窗体的helpcontextid

[英]identify helpcontextid in visual studio 2010 for windows application form

I am new to visual studio 2010 and c#.I am trying to locate helpcontextid in properties panel but i couldn't find it out.I have many questions as follows 我是Visual Studio 2010和C#的新手,我试图在属性面板中找到helpcontextid,但找不到它。我有很多问题如下

  • Is helpcontextid a property for windows application 是helpcontextid Windows应用程序的属性
  • If yes where can I find the solution?If no what should I do to add helpcontextid? 如果是,我在哪里可以找到解决方案?如果没有,我应该怎么做才能添加helpcontextid?
  • Can helpcontextid added for all the events or do we have some limitations? 可以为所有事件添加helpcontextid还是我们有一些限制?

Context-sensitive help sometimes seems to be a bit difficult sometimes. 上下文相关的帮助有时似乎有些困难。 You need to create a CHM including help context ID's or you may want to use help topics on a server. 您需要创建一个包含帮助上下文ID的 CHM,或者您可能想在服务器上使用帮助主题。

The Windows Forms supports a "What's this .." HelpButton and / or F1 - Help on individual controls based on Help files. Windows窗体支持“这是什么..”帮助按钮和/或F1-基于帮助文件的单个控件的帮助。 To attach Help topics within a Help file (that is either HTML or HTMLHelp 1.x/Help 2.x format) to specific controls on Windows Forms you need to use the HelpProvider component. 要将帮助主题(HTML或HTMLHelp 1.x / Help 2.x格式的帮助文件)附加到Windows窗体上的特定控件,您需要使用HelpProvider组件。 The HelpProvider component will associates an HTMLHelp 1.x Help file (CHM) or a single HTML file with your Windows Form application. HelpProvider组件会将HTMLHelp 1.x帮助文件(CHM)或单个HTML文件与Windows Form应用程序关联。

To provide this Help in your application, you have to use the HelpProvider control which you can find in the Toolbox on the Windows Forms tab. 要在您的应用程序中提供此帮助,您必须使用HelpProvider控件,该控件可在Windows窗体选项卡上的工具箱中找到。 Drag and Drop a HelpProvider component from the Toolbox to your form. 从工具箱中拖放一个HelpProvider组件到您的表单。 It is a component rather than a control, so when you put it on your form it will sit in the component tray below. 它是一个组件而不是控件,因此,将其放在窗体上时,它将位于下面的组件托盘中。 Rename this component to "hlpHtmlLocal". 将此组件重命名为“ hlpHtmlLocal”。 This component gives every control on the form three new properties called HelpKeyword, HelpNavigator and HelpString on hlpProvider1. 该组件为表单上的每个控件提供hlpProvider1上的三个新属性,分别称为HelpKeyword,HelpNavigator和HelpString。

For further information see Help for controls with VB .NET . 有关更多信息,请参见VB .NET控件的帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows Form Application C锐视觉工作室2010 - Windows Form Application C sharp visual studio 2010 Visual Studio 2010 - 发布Windows窗体或WPF应用程序 - Visual Studio 2010 - Publishing a Windows Form or WPF application 使用Visual Studio 2010继承Windows窗体类 - Inheriting Windows Form Classes with Visual Studio 2010 使用visual studio 2010在Windows窗体中创建线条? - Create lines in windows form with visual studio 2010? 在Visual Studio 2010 Express中部署Windows应用程序 - Deploying windows application in Visual studio 2010 Express 部署Windows窗体应用程序,该应用程序链接到在另一个系统上Visual Studio 2010上创建的两个excel文件 - deploy a windows form application which links to two excel files created on visual studio 2010 on another system 如何使用ClickOnce部署我的C#(4.0)Visual Studio 2010基于Windows窗体的应用程序? - How to use ClickOnce to deploy my C#(4.0)Visual studio 2010 windows form based Application? 如何在C#Windows窗体应用程序Visual Studio 2010中运行AVRDUDE - How to run AVRDUDE in C# windows form application visual studio 2010 配置系统无法在Visual Studio 2010 Windows窗体中初始化 - configuration system failed to initialize in visual studio 2010 windows form 如何在Visual Studio 2010表单应用程序中启动计时器 - How to start timer in Visual Studio 2010 Form Application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM