Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- DataFormats.cs
- CrossSiteScriptingValidation.cs
- ClockController.cs
- TableStyle.cs
- DataViewSettingCollection.cs
- ThemeConfigurationDialog.cs
- ISAPIWorkerRequest.cs
- TextPattern.cs
- ClientRoleProvider.cs
- CodeTypeReference.cs
- IUnknownConstantAttribute.cs
- XmlWriter.cs
- TemplateControl.cs
- ComponentResourceKeyConverter.cs
- _SSPISessionCache.cs
- Opcode.cs
- StylusPointPropertyInfo.cs
- KeysConverter.cs
- SamlSubject.cs
- DotExpr.cs
- OneToOneMappingSerializer.cs
- SafeTimerHandle.cs
- ModuleBuilder.cs
- Base64Decoder.cs
- SqlFileStream.cs
- ActivityExecutionContext.cs
- GifBitmapDecoder.cs
- XmlSchemaSubstitutionGroup.cs
- ExceptionHelpers.cs
- DefaultDiscoveryServiceExtension.cs
- SymbolType.cs
- ViewManager.cs
- InputChannelBinder.cs
- TrackingMemoryStream.cs
- SqlOuterApplyReducer.cs
- WebHttpDispatchOperationSelector.cs
- EventLog.cs
- DataStreamFromComStream.cs
- WsdlBuildProvider.cs
- CompiledAction.cs
- ForwardPositionQuery.cs
- SignatureToken.cs
- NewArrayExpression.cs
- CheckBox.cs
- AspNetRouteServiceHttpHandler.cs
- XPathBuilder.cs
- HtmlElementCollection.cs
- RichTextBox.cs
- M3DUtil.cs
- IdnElement.cs
- FragmentQueryProcessor.cs
- FileDialog.cs
- SizeAnimationUsingKeyFrames.cs
- MergeFilterQuery.cs
- TextTreeRootTextBlock.cs
- PermissionSetTriple.cs
- LogRecordSequence.cs
- PrintControllerWithStatusDialog.cs
- CodeTypeMember.cs
- MeshGeometry3D.cs
- WebPartConnectionsCancelVerb.cs
- AttributeEmitter.cs
- SystemIcmpV6Statistics.cs
- ControlBindingsCollection.cs
- EventRecordWrittenEventArgs.cs
- IFlowDocumentViewer.cs
- HierarchicalDataSourceConverter.cs
- LabelDesigner.cs
- BulletedListDesigner.cs
- CharUnicodeInfo.cs
- PublisherMembershipCondition.cs
- WindowsSlider.cs
- OutputCacheModule.cs
- InkPresenterAutomationPeer.cs
- XsltSettings.cs
- Underline.cs
- XmlSchemaDocumentation.cs
- MatrixIndependentAnimationStorage.cs
- DocumentApplicationDocumentViewer.cs
- HWStack.cs
- RtfToXamlLexer.cs
- ImpersonateTokenRef.cs
- SqlCrossApplyToCrossJoin.cs
- BindingNavigator.cs
- SmiContextFactory.cs
- FullTrustAssembliesSection.cs
- ToolStripLocationCancelEventArgs.cs
- TextProviderWrapper.cs
- CellParagraph.cs
- FrameworkContentElement.cs
- XmlSerializationWriter.cs
- XmlSchemaDocumentation.cs
- RegexCompilationInfo.cs
- controlskin.cs
- HttpCacheParams.cs
- XpsFixedDocumentReaderWriter.cs
- InputLanguage.cs
- ADConnectionHelper.cs
- BehaviorEditorPart.cs
- ProcessModelSection.cs