Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExtensionWindowResizeGrip.cs
- MailAddress.cs
- SchemaTypeEmitter.cs
- WebScriptEnablingBehavior.cs
- TransportReplyChannelAcceptor.cs
- TemplateKeyConverter.cs
- DocumentPageTextView.cs
- WizardStepBase.cs
- ApplicationFileCodeDomTreeGenerator.cs
- TemplateControlBuildProvider.cs
- MouseButtonEventArgs.cs
- ListViewGroupItemCollection.cs
- Geometry3D.cs
- TemplateXamlTreeBuilder.cs
- OraclePermission.cs
- ProgressBar.cs
- FrameworkObject.cs
- ConfigurationManagerHelper.cs
- SelectedDatesCollection.cs
- AggregatePushdown.cs
- serverconfig.cs
- GuidelineCollection.cs
- KeyboardNavigation.cs
- HwndSubclass.cs
- SystemSounds.cs
- OutputCacheProfile.cs
- XPathParser.cs
- ToolBar.cs
- ProvideValueServiceProvider.cs
- SqlAliaser.cs
- ApplicationDirectory.cs
- ErrorWebPart.cs
- TextDecorationCollection.cs
- ColorConverter.cs
- Parallel.cs
- ProvidersHelper.cs
- Asn1Utilities.cs
- DoubleAnimation.cs
- NegotiateStream.cs
- Stroke.cs
- AssemblyHash.cs
- DataPagerField.cs
- QueryOperationResponseOfT.cs
- ContainsRowNumberChecker.cs
- ArgumentElement.cs
- ParentControlDesigner.cs
- CommandEventArgs.cs
- FontNamesConverter.cs
- BrowsableAttribute.cs
- SymbolMethod.cs
- FontFamilyValueSerializer.cs
- InvalidCastException.cs
- SafeNativeMethods.cs
- DictionaryGlobals.cs
- DataGridLinkButton.cs
- ToolStripStatusLabel.cs
- DataStreamFromComStream.cs
- UserMapPath.cs
- TargetPerspective.cs
- MultiplexingDispatchMessageFormatter.cs
- TreeViewItem.cs
- NonBatchDirectoryCompiler.cs
- PersonalizableTypeEntry.cs
- Operand.cs
- Symbol.cs
- InvalidOperationException.cs
- XmlSchemaException.cs
- Classification.cs
- WebConfigurationHostFileChange.cs
- BoolLiteral.cs
- IndexingContentUnit.cs
- Constraint.cs
- CodeActivity.cs
- ByteAnimationBase.cs
- XmlObjectSerializerReadContextComplexJson.cs
- VariantWrapper.cs
- FlowThrottle.cs
- namescope.cs
- DependencyObjectType.cs
- FormsAuthenticationModule.cs
- TextCharacters.cs
- Pens.cs
- NopReturnReader.cs
- KeyedCollection.cs
- UrlMappingsModule.cs
- Part.cs
- SqlRowUpdatedEvent.cs
- ObjectAnimationBase.cs
- TraceSwitch.cs
- SafeFindHandle.cs
- SoapReflectionImporter.cs
- LinkTarget.cs
- FilterException.cs
- DictionaryEntry.cs
- ColumnBinding.cs
- ServicePoint.cs
- KoreanLunisolarCalendar.cs
- TraceFilter.cs
- ConfigXmlComment.cs
- ResourcesGenerator.cs