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
- ReversePositionQuery.cs
- TextRange.cs
- MetadataSection.cs
- FormViewModeEventArgs.cs
- Part.cs
- Input.cs
- InternalControlCollection.cs
- SubstitutionDesigner.cs
- ConfigXmlWhitespace.cs
- TrustManager.cs
- PageCatalogPart.cs
- WebPartChrome.cs
- ActivityExecutorSurrogate.cs
- EntityDataSourceStatementEditorForm.cs
- MethodRental.cs
- ProcessRequestArgs.cs
- LinqDataSourceView.cs
- TemplateColumn.cs
- HwndProxyElementProvider.cs
- WebAdminConfigurationHelper.cs
- ServiceHostingEnvironment.cs
- ServiceDescriptionReflector.cs
- InvalidDataContractException.cs
- EmptyCollection.cs
- HttpPostClientProtocol.cs
- FixedPageProcessor.cs
- DataGridViewRowsAddedEventArgs.cs
- bindurihelper.cs
- SqlAliasesReferenced.cs
- Int16.cs
- DataGridTextBoxColumn.cs
- SystemIPInterfaceStatistics.cs
- FlowDocument.cs
- CompilerErrorCollection.cs
- PageMediaType.cs
- AssociatedControlConverter.cs
- X509Certificate2Collection.cs
- TrustSection.cs
- Literal.cs
- XsdDuration.cs
- TextDecoration.cs
- DataObjectSettingDataEventArgs.cs
- SynchronizationLockException.cs
- EdmRelationshipRoleAttribute.cs
- ActivationArguments.cs
- SqlConnectionHelper.cs
- Publisher.cs
- WebPartConnectionsConfigureVerb.cs
- MDIClient.cs
- ObjectParameter.cs
- Renderer.cs
- ProfilePropertySettingsCollection.cs
- ScrollProperties.cs
- PropertyGroupDescription.cs
- ProviderException.cs
- GridEntry.cs
- InvokePatternIdentifiers.cs
- TypeDelegator.cs
- ConstructorExpr.cs
- HasRunnableWorkflowEvent.cs
- MultiSelectRootGridEntry.cs
- LabelLiteral.cs
- BuildResult.cs
- HttpModuleActionCollection.cs
- Column.cs
- SafeIUnknown.cs
- LocalizationParserHooks.cs
- DictionaryContent.cs
- OverflowException.cs
- VectorKeyFrameCollection.cs
- TreeViewTemplateSelector.cs
- SyntaxCheck.cs
- Serializer.cs
- WebEvents.cs
- RecordManager.cs
- TableChangeProcessor.cs
- WindowsFormsSynchronizationContext.cs
- SevenBitStream.cs
- PolicyValidationException.cs
- StatusBarDesigner.cs
- ObjectViewListener.cs
- SapiAttributeParser.cs
- ControlHelper.cs
- XmlCharacterData.cs
- EncryptedPackage.cs
- TypeSystem.cs
- TextOnlyOutput.cs
- SrgsRuleRef.cs
- TextBox.cs
- Decorator.cs
- recordstatescratchpad.cs
- XmlSchemaExporter.cs
- BuildResultCache.cs
- ExecutionContext.cs
- safelink.cs
- StreamSecurityUpgradeInitiatorBase.cs
- ServiceContractViewControl.Designer.cs
- DbMetaDataFactory.cs
- DataGridViewRowsRemovedEventArgs.cs
- GroupBox.cs