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
- DictionaryKeyPropertyAttribute.cs
- ViewStateModeByIdAttribute.cs
- NumberFormatInfo.cs
- MediaTimeline.cs
- AmbientLight.cs
- ListenerTraceUtility.cs
- PointKeyFrameCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- LogEntrySerialization.cs
- ExpandableObjectConverter.cs
- PersonalizationProvider.cs
- RsaSecurityToken.cs
- AuthenticationModuleElement.cs
- SemanticResultKey.cs
- TextUtf8RawTextWriter.cs
- _UncName.cs
- XPathParser.cs
- NavigationWindow.cs
- MediaPlayerState.cs
- TagNameToTypeMapper.cs
- TextFragmentEngine.cs
- DescendantQuery.cs
- CompositeActivityDesigner.cs
- PatternMatcher.cs
- TraceProvider.cs
- DocumentOutline.cs
- EncodingDataItem.cs
- StatusBar.cs
- Expression.cs
- MsmqBindingFilter.cs
- ParserOptions.cs
- ToolboxComponentsCreatingEventArgs.cs
- XmlElementList.cs
- SchemaMerger.cs
- rsa.cs
- XmlDocumentType.cs
- TcpAppDomainProtocolHandler.cs
- LexicalChunk.cs
- CapacityStreamGeometryContext.cs
- SimpleLine.cs
- _Connection.cs
- Rijndael.cs
- DiscreteKeyFrames.cs
- SqlMethods.cs
- TriggerBase.cs
- FrameworkElementFactoryMarkupObject.cs
- AnnotationDocumentPaginator.cs
- hwndwrapper.cs
- FileAuthorizationModule.cs
- OpCodes.cs
- SystemNetworkInterface.cs
- Size.cs
- DBNull.cs
- SqlBuilder.cs
- HtmlProps.cs
- Multiply.cs
- HtmlTableCell.cs
- IPEndPoint.cs
- DataServiceCollectionOfT.cs
- IpcChannelHelper.cs
- Utilities.cs
- XmlElementList.cs
- TraceHwndHost.cs
- XmlElementElementCollection.cs
- GestureRecognitionResult.cs
- SizeLimitedCache.cs
- TemplateControl.cs
- NameSpaceExtractor.cs
- ScriptingAuthenticationServiceSection.cs
- ValidationResult.cs
- PopOutPanel.cs
- HtmlEmptyTagControlBuilder.cs
- MaterialGroup.cs
- BaseResourcesBuildProvider.cs
- PanelStyle.cs
- EmptyReadOnlyDictionaryInternal.cs
- Symbol.cs
- safex509handles.cs
- XMLSchema.cs
- BlobPersonalizationState.cs
- DBNull.cs
- FailedToStartupUIException.cs
- PathBox.cs
- Calendar.cs
- CounterSampleCalculator.cs
- HttpHandler.cs
- GradientSpreadMethodValidation.cs
- RelatedView.cs
- TdsParameterSetter.cs
- DesignerWithHeader.cs
- SchemaSetCompiler.cs
- StandardToolWindows.cs
- IgnorePropertiesAttribute.cs
- EntityDataSourceDataSelection.cs
- ListenerHandler.cs
- PersonalizationAdministration.cs
- InstanceBehavior.cs
- BlurBitmapEffect.cs
- Assembly.cs
- ThemeableAttribute.cs