Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1305376 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProfileServiceManager.cs
- ModifierKeysConverter.cs
- DataGridRowHeaderAutomationPeer.cs
- SpoolingTaskBase.cs
- ListManagerBindingsCollection.cs
- CompoundFileIOPermission.cs
- UdpDiscoveryEndpointElement.cs
- WebServiceParameterData.cs
- GeometryHitTestParameters.cs
- SelectedDatesCollection.cs
- ListViewHitTestInfo.cs
- HashAlgorithm.cs
- DurationConverter.cs
- HttpApplication.cs
- GenericWebPart.cs
- IntranetCredentialPolicy.cs
- MimeFormReflector.cs
- TableCell.cs
- CollectionView.cs
- Rect3D.cs
- DynamicResourceExtensionConverter.cs
- SchemaMerger.cs
- SocketInformation.cs
- DbTransaction.cs
- mediaeventshelper.cs
- AssemblySettingAttributes.cs
- CheckBoxStandardAdapter.cs
- DataGrid.cs
- StandardTransformFactory.cs
- PingReply.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- XmlChildNodes.cs
- PreloadedPackages.cs
- UIElementPropertyUndoUnit.cs
- PersonalizableTypeEntry.cs
- CopyNamespacesAction.cs
- MenuItemBinding.cs
- sqlinternaltransaction.cs
- HttpPostedFile.cs
- BooleanKeyFrameCollection.cs
- TextParagraphProperties.cs
- TypePropertyEditor.cs
- HintTextConverter.cs
- Identity.cs
- PerformanceCounterNameAttribute.cs
- XmlDocumentType.cs
- RoutedEventConverter.cs
- TdsParameterSetter.cs
- XmlSchemaSubstitutionGroup.cs
- CatalogZoneDesigner.cs
- DictionaryContent.cs
- WmlValidationSummaryAdapter.cs
- CqlParserHelpers.cs
- parserscommon.cs
- DelegatingHeader.cs
- CodeMemberMethod.cs
- SqlRowUpdatedEvent.cs
- ResourceAssociationTypeEnd.cs
- odbcmetadatacollectionnames.cs
- TableParaClient.cs
- ServicePointManager.cs
- MessageHeaderException.cs
- EntityClassGenerator.cs
- DiscoveryCallbackBehavior.cs
- TargetControlTypeCache.cs
- RectangleHotSpot.cs
- MultipleViewPattern.cs
- StructuralObject.cs
- TaskHelper.cs
- QilFactory.cs
- WinEventTracker.cs
- SingleAnimationBase.cs
- Int32Collection.cs
- ArrayListCollectionBase.cs
- FieldMetadata.cs
- SqlBinder.cs
- CollectionViewGroup.cs
- HwndSourceParameters.cs
- BaseProcessProtocolHandler.cs
- ISessionStateStore.cs
- Environment.cs
- DesignerMetadata.cs
- EventDescriptor.cs
- Substitution.cs
- SubclassTypeValidator.cs
- NavigationService.cs
- ArrayHelper.cs
- Vertex.cs
- FocusWithinProperty.cs
- GPPOINT.cs
- WebBrowserNavigatedEventHandler.cs
- ArraySegment.cs
- SapiInterop.cs
- ResourceKey.cs
- XmlWriterSettings.cs
- SchemaTypeEmitter.cs
- StreamReader.cs
- CryptoHelper.cs
- SerializationAttributes.cs
- DataObjectCopyingEventArgs.cs