Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / HelpInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; internal class HelpInfo { private string helpFilePath; private string keyword; private HelpNavigator navigator; private object param; private int option; public HelpInfo(string helpfilepath) { this.helpFilePath= helpfilepath; this.keyword = ""; this.navigator = HelpNavigator.TableOfContents; this.param = null; this.option = NativeMethods.HLP_FILE; } public HelpInfo(string helpfilepath, string keyword) { this.helpFilePath= helpfilepath; this.keyword = keyword; this.navigator = HelpNavigator.TableOfContents; this.param = null; this.option = NativeMethods.HLP_KEYWORD; } public HelpInfo(string helpfilepath, HelpNavigator navigator) { this.helpFilePath= helpfilepath; this.keyword = ""; this.navigator = navigator; this.param = null; this.option = NativeMethods.HLP_NAVIGATOR; } public HelpInfo(string helpfilepath, HelpNavigator navigator, object param) { this.helpFilePath= helpfilepath; this.keyword = ""; this.navigator = navigator; this.param = param; this.option = NativeMethods.HLP_OBJECT; } public int Option { get { return option; } } public string HelpFilePath { get { return helpFilePath; } } public string Keyword { get { return keyword; } } public HelpNavigator Navigator { get { return navigator; } } public object Param { get { return param; } } public override string ToString() { return "{HelpFilePath=" + helpFilePath + ", keyword =" + keyword + ", navigator=" + navigator.ToString() + "}"; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; internal class HelpInfo { private string helpFilePath; private string keyword; private HelpNavigator navigator; private object param; private int option; public HelpInfo(string helpfilepath) { this.helpFilePath= helpfilepath; this.keyword = ""; this.navigator = HelpNavigator.TableOfContents; this.param = null; this.option = NativeMethods.HLP_FILE; } public HelpInfo(string helpfilepath, string keyword) { this.helpFilePath= helpfilepath; this.keyword = keyword; this.navigator = HelpNavigator.TableOfContents; this.param = null; this.option = NativeMethods.HLP_KEYWORD; } public HelpInfo(string helpfilepath, HelpNavigator navigator) { this.helpFilePath= helpfilepath; this.keyword = ""; this.navigator = navigator; this.param = null; this.option = NativeMethods.HLP_NAVIGATOR; } public HelpInfo(string helpfilepath, HelpNavigator navigator, object param) { this.helpFilePath= helpfilepath; this.keyword = ""; this.navigator = navigator; this.param = param; this.option = NativeMethods.HLP_OBJECT; } public int Option { get { return option; } } public string HelpFilePath { get { return helpFilePath; } } public string Keyword { get { return keyword; } } public HelpNavigator Navigator { get { return navigator; } } public object Param { get { return param; } } public override string ToString() { return "{HelpFilePath=" + helpFilePath + ", keyword =" + keyword + ", navigator=" + navigator.ToString() + "}"; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewColumnDesigner.cs
- TypeElement.cs
- Point4DValueSerializer.cs
- SplashScreenNativeMethods.cs
- ConstraintConverter.cs
- NotifyParentPropertyAttribute.cs
- ProxyWebPartConnectionCollection.cs
- UTF7Encoding.cs
- ParserOptions.cs
- FragmentQueryProcessor.cs
- ObjectDataSourceView.cs
- DiscreteKeyFrames.cs
- DefaultMemberAttribute.cs
- ArraySubsetEnumerator.cs
- XamlPointCollectionSerializer.cs
- CustomLineCap.cs
- MeasurementDCInfo.cs
- Encoding.cs
- HtmlElementEventArgs.cs
- TemplateParser.cs
- Style.cs
- ResourceAssociationTypeEnd.cs
- TemplateColumn.cs
- SamlAssertion.cs
- TransformerInfo.cs
- basemetadatamappingvisitor.cs
- NameTable.cs
- SharedStream.cs
- Header.cs
- UnconditionalPolicy.cs
- FullTrustAssemblyCollection.cs
- ToolStripItem.cs
- UnsafeNativeMethodsPenimc.cs
- StubHelpers.cs
- ListViewEditEventArgs.cs
- FolderLevelBuildProvider.cs
- ListItemCollection.cs
- TextCollapsingProperties.cs
- XmlToDatasetMap.cs
- GAC.cs
- CssClassPropertyAttribute.cs
- SchemaName.cs
- PageRequestManager.cs
- SpotLight.cs
- ModelPropertyImpl.cs
- ButtonChrome.cs
- VectorAnimationUsingKeyFrames.cs
- EncryptedKey.cs
- _FtpDataStream.cs
- XmlAttributeAttribute.cs
- TailCallAnalyzer.cs
- OracleBoolean.cs
- BookmarkNameHelper.cs
- ServiceControllerDesigner.cs
- RsaKeyIdentifierClause.cs
- XPathAncestorQuery.cs
- PocoEntityKeyStrategy.cs
- PolyBezierSegmentFigureLogic.cs
- HtmlEmptyTagControlBuilder.cs
- SqlCacheDependencyDatabaseCollection.cs
- LockedAssemblyCache.cs
- NetworkInterface.cs
- LocatorPart.cs
- WorkflowView.cs
- TextEditorContextMenu.cs
- GACIdentityPermission.cs
- CorrelationManager.cs
- CircleHotSpot.cs
- XmlEnumAttribute.cs
- TextFormatterImp.cs
- RuntimeArgumentHandle.cs
- ResourceKey.cs
- SlipBehavior.cs
- NativeMethods.cs
- AutoScrollHelper.cs
- MulticastDelegate.cs
- StateElementCollection.cs
- Brush.cs
- XsdSchemaFileEditor.cs
- DataServiceQueryException.cs
- ToolStripItemClickedEventArgs.cs
- Camera.cs
- AmbientValueAttribute.cs
- Attributes.cs
- GridItemCollection.cs
- FileChangesMonitor.cs
- OperationCanceledException.cs
- SHA512Managed.cs
- StylusPlugInCollection.cs
- Margins.cs
- CalendarDay.cs
- XmlNamespaceManager.cs
- InternalTypeHelper.cs
- DateTimeOffsetStorage.cs
- SchemeSettingElementCollection.cs
- AccessKeyManager.cs
- FileAuthorizationModule.cs
- WebPartConnectionsCancelVerb.cs
- RegexCode.cs
- ProfileParameter.cs