Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / 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
- ScriptResourceMapping.cs
- EntityException.cs
- ServiceModelPerformanceCounters.cs
- Annotation.cs
- HttpProfileBase.cs
- PathFigure.cs
- XmlAttributeOverrides.cs
- CompoundFileStorageReference.cs
- ObjectQueryState.cs
- CompatibleComparer.cs
- TreeNodeCollection.cs
- ValidationPropertyAttribute.cs
- nulltextnavigator.cs
- Button.cs
- EventMappingSettingsCollection.cs
- FontConverter.cs
- UshortList2.cs
- UIElementIsland.cs
- AnimationStorage.cs
- MethodAccessException.cs
- Decimal.cs
- PointAnimationUsingPath.cs
- translator.cs
- SessionMode.cs
- CompatibleIComparer.cs
- HiddenFieldPageStatePersister.cs
- Timer.cs
- WebUtil.cs
- InputProcessorProfiles.cs
- GraphicsContainer.cs
- HandleValueEditor.cs
- SubqueryRules.cs
- LabelLiteral.cs
- PanelDesigner.cs
- TextSelection.cs
- MenuItemStyleCollection.cs
- SchemaImporterExtension.cs
- SoapSchemaExporter.cs
- XmlMembersMapping.cs
- SqlDataReader.cs
- Utils.cs
- SynchronizationLockException.cs
- ResourceExpression.cs
- DataBindingList.cs
- SQLSingleStorage.cs
- NewItemsContextMenuStrip.cs
- WebExceptionStatus.cs
- Int32Rect.cs
- ProviderCommandInfoUtils.cs
- ServiceNameCollection.cs
- ClaimTypeRequirement.cs
- CompiledRegexRunner.cs
- HtmlToClrEventProxy.cs
- SqlVersion.cs
- StorageSetMapping.cs
- AlternateViewCollection.cs
- ContentTypeSettingClientMessageFormatter.cs
- TagPrefixAttribute.cs
- RequestResizeEvent.cs
- Pair.cs
- Utilities.cs
- Regex.cs
- PenThreadPool.cs
- EventlogProvider.cs
- WebPartHeaderCloseVerb.cs
- WebServiceErrorEvent.cs
- TextElementEnumerator.cs
- LambdaExpression.cs
- followingquery.cs
- CompilerErrorCollection.cs
- HttpConfigurationSystem.cs
- DragCompletedEventArgs.cs
- AssertSection.cs
- lengthconverter.cs
- Point4DConverter.cs
- ProfileSettings.cs
- ServiceThrottlingElement.cs
- XmlBinaryReader.cs
- BufferedGraphicsContext.cs
- DataGridColumnEventArgs.cs
- ViewgenContext.cs
- StylusOverProperty.cs
- URLEditor.cs
- Collection.cs
- CapabilitiesPattern.cs
- SmtpReplyReader.cs
- XmlSerializationGeneratedCode.cs
- DataGridViewTextBoxEditingControl.cs
- IndexedGlyphRun.cs
- RequestQueryParser.cs
- FormViewModeEventArgs.cs
- BufferedWebEventProvider.cs
- StringComparer.cs
- XmlElement.cs
- DataBindEngine.cs
- DbProviderFactories.cs
- ShaperBuffers.cs
- ResourceContainer.cs
- TranslateTransform.cs
- NativeObjectSecurity.cs