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
- EventSetter.cs
- AutomationElementCollection.cs
- PeerNameRecord.cs
- AccessorTable.cs
- InvalidOleVariantTypeException.cs
- FindSimilarActivitiesVerb.cs
- NamespaceEmitter.cs
- CodeTypeReference.cs
- TranslateTransform3D.cs
- InputElement.cs
- DisplayNameAttribute.cs
- BitmapEffectGroup.cs
- RegexReplacement.cs
- SslStream.cs
- SimpleLine.cs
- BasicExpressionVisitor.cs
- CodeCompiler.cs
- VisualStyleRenderer.cs
- HashMembershipCondition.cs
- DesignTimeVisibleAttribute.cs
- FileDialogPermission.cs
- PolicyException.cs
- CommandConverter.cs
- PixelShader.cs
- HostnameComparisonMode.cs
- SelectionPattern.cs
- DefaultAsyncDataDispatcher.cs
- SQLResource.cs
- AssertFilter.cs
- XmlElementList.cs
- PrivacyNoticeBindingElement.cs
- SqlSupersetValidator.cs
- AssemblyBuilder.cs
- Storyboard.cs
- PaintValueEventArgs.cs
- BmpBitmapDecoder.cs
- XmlReaderSettings.cs
- RTTrackingProfile.cs
- InheritanceRules.cs
- IndicCharClassifier.cs
- ResourceAssociationSet.cs
- FactoryId.cs
- InstanceDataCollectionCollection.cs
- StateManagedCollection.cs
- DataBindingExpressionBuilder.cs
- TreeView.cs
- HideDisabledControlAdapter.cs
- PersonalizationEntry.cs
- ThreadAttributes.cs
- DataSourceConverter.cs
- Trace.cs
- DuplicateWaitObjectException.cs
- MethodBody.cs
- SymLanguageType.cs
- SpellerInterop.cs
- COM2ExtendedTypeConverter.cs
- WebResourceAttribute.cs
- QilStrConcatenator.cs
- Permission.cs
- WeakReferenceEnumerator.cs
- Msec.cs
- DbConvert.cs
- xml.cs
- MethodBuilder.cs
- JsonWriter.cs
- KeyFrames.cs
- FileStream.cs
- ImageIndexConverter.cs
- OperationFormatStyle.cs
- SByteConverter.cs
- ExpressionBindingCollection.cs
- Size.cs
- RowBinding.cs
- HttpFileCollectionWrapper.cs
- SettingsContext.cs
- UndirectedGraph.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- WebResponse.cs
- PriorityBindingExpression.cs
- TypeHelper.cs
- CompilationSection.cs
- ListParagraph.cs
- ScriptingProfileServiceSection.cs
- ChtmlTextWriter.cs
- QueryResponse.cs
- HostingEnvironmentSection.cs
- MergeLocalizationDirectives.cs
- EventTrigger.cs
- FunctionMappingTranslator.cs
- QueryStringParameter.cs
- EditableLabelControl.cs
- XhtmlConformanceSection.cs
- ColumnClickEvent.cs
- Axis.cs
- WindowsSysHeader.cs
- CodeDirectiveCollection.cs
- AdornedElementPlaceholder.cs
- ServiceBehaviorAttribute.cs
- ApplicationDirectoryMembershipCondition.cs
- NamespaceEmitter.cs