Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / HelpInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * HelpInfo.cs * * Revision History: * * 09/04/02 [....] * Created it. * \**************************************************************************/ 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MasterPageCodeDomTreeGenerator.cs
- ConfigurationStrings.cs
- ClockController.cs
- _SpnDictionary.cs
- WindowsBrush.cs
- IndentTextWriter.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- BufferedWebEventProvider.cs
- EventLogHandle.cs
- CommandID.cs
- ReadOnlyDictionary.cs
- QueryPageSettingsEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- NavigationEventArgs.cs
- QueryBranchOp.cs
- GacUtil.cs
- WebRequestModuleElement.cs
- StyleHelper.cs
- ImageClickEventArgs.cs
- SystemWebSectionGroup.cs
- NoClickablePointException.cs
- SqlDataAdapter.cs
- InkSerializer.cs
- DataServiceProviderMethods.cs
- CodeVariableReferenceExpression.cs
- ScriptManager.cs
- CompoundFileReference.cs
- EqualityComparer.cs
- IImplicitResourceProvider.cs
- CallbackDebugElement.cs
- GridViewRowCollection.cs
- DataGridViewAccessibleObject.cs
- Annotation.cs
- TextWriter.cs
- StylusCollection.cs
- EllipticalNodeOperations.cs
- ConcurrencyBehavior.cs
- odbcmetadatacollectionnames.cs
- CacheOutputQuery.cs
- ClientSettingsProvider.cs
- safex509handles.cs
- TextSpanModifier.cs
- HtmlGenericControl.cs
- GroupBox.cs
- ScriptingSectionGroup.cs
- ExpandoObject.cs
- CheckBox.cs
- TreeNode.cs
- SiteMembershipCondition.cs
- ObjectAnimationBase.cs
- StackSpiller.Temps.cs
- SqlDataSourceCustomCommandPanel.cs
- _ConnectOverlappedAsyncResult.cs
- SendActivityDesigner.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- Number.cs
- UpdateTranslator.cs
- BulletedListEventArgs.cs
- MonikerUtility.cs
- VectorValueSerializer.cs
- TextElement.cs
- FacetChecker.cs
- FixedDocumentPaginator.cs
- RSAOAEPKeyExchangeFormatter.cs
- QueryReaderSettings.cs
- AxisAngleRotation3D.cs
- ExtendedPropertyCollection.cs
- TextSegment.cs
- FederatedMessageSecurityOverHttp.cs
- Adorner.cs
- DebugHandleTracker.cs
- CloseCryptoHandleRequest.cs
- FixedDocumentPaginator.cs
- typedescriptorpermission.cs
- SocketException.cs
- StatusBarPanelClickEvent.cs
- NotFiniteNumberException.cs
- figurelengthconverter.cs
- _LocalDataStoreMgr.cs
- XPathDescendantIterator.cs
- PageClientProxyGenerator.cs
- WhitespaceSignificantCollectionAttribute.cs
- ControlBuilderAttribute.cs
- DrawingBrush.cs
- DispatchChannelSink.cs
- NamespaceListProperty.cs
- TemplatePropertyEntry.cs
- PersonalizationStateInfo.cs
- ChannelCacheSettings.cs
- FaultHandlingFilter.cs
- BamlLocalizableResourceKey.cs
- LicenseException.cs
- ObjectSecurity.cs
- BamlResourceDeserializer.cs
- HandlerBase.cs
- ServiceObjectContainer.cs
- TypeLoadException.cs
- CroppedBitmap.cs
- FontWeights.cs
- XmlAutoDetectWriter.cs