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
- FontSource.cs
- RuleDefinitions.cs
- DataIdProcessor.cs
- FontCacheUtil.cs
- LayoutInformation.cs
- ServerType.cs
- PropertyPathWorker.cs
- DataGridLinkButton.cs
- counter.cs
- SmiRequestExecutor.cs
- WebPartTracker.cs
- BuildDependencySet.cs
- StringToken.cs
- IIS7WorkerRequest.cs
- CompilerInfo.cs
- StreamUpdate.cs
- ShortcutKeysEditor.cs
- ForwardPositionQuery.cs
- OleTxTransaction.cs
- EntityModelSchemaGenerator.cs
- XmlKeywords.cs
- EntityDataSourceChangingEventArgs.cs
- MediaScriptCommandRoutedEventArgs.cs
- SqlParameterCollection.cs
- PtsPage.cs
- NameSpaceEvent.cs
- FixedPageProcessor.cs
- AvTrace.cs
- EventLogSession.cs
- Profiler.cs
- HierarchicalDataSourceDesigner.cs
- DataMember.cs
- InvokeFunc.cs
- SchemaEntity.cs
- PkcsUtils.cs
- KeyValueInternalCollection.cs
- XmlJsonReader.cs
- controlskin.cs
- DateTimeConverter.cs
- PassportAuthentication.cs
- WebPartDisplayModeEventArgs.cs
- UnknownBitmapDecoder.cs
- OleServicesContext.cs
- ListViewItemEventArgs.cs
- FormatSettings.cs
- PointIndependentAnimationStorage.cs
- BitmapImage.cs
- odbcmetadatacolumnnames.cs
- SubpageParagraph.cs
- KeyboardDevice.cs
- DataSourceView.cs
- OleDbDataAdapter.cs
- ToolboxBitmapAttribute.cs
- CommandConverter.cs
- SortAction.cs
- ServiceHttpModule.cs
- ScrollChrome.cs
- EncoderReplacementFallback.cs
- ValidationEventArgs.cs
- CompilerHelpers.cs
- TargetInvocationException.cs
- TrustLevelCollection.cs
- AnnotationService.cs
- FrameworkTextComposition.cs
- TextTreeFixupNode.cs
- FormsAuthentication.cs
- CompilerGlobalScopeAttribute.cs
- DataGridItem.cs
- ConfigXmlText.cs
- TypeReference.cs
- CommandHelpers.cs
- SQLBytes.cs
- ModulesEntry.cs
- ValidationResult.cs
- ConnectionInterfaceCollection.cs
- cryptoapiTransform.cs
- RijndaelCryptoServiceProvider.cs
- RecommendedAsConfigurableAttribute.cs
- OrderingExpression.cs
- DescendantOverDescendantQuery.cs
- XmlValidatingReader.cs
- StrongTypingException.cs
- VBIdentifierTrimConverter.cs
- XmlMembersMapping.cs
- SoapAttributeAttribute.cs
- LedgerEntry.cs
- ToolStripPanelCell.cs
- Error.cs
- ObjectHandle.cs
- IConvertible.cs
- ArraySubsetEnumerator.cs
- CompilerCollection.cs
- RegexMatchCollection.cs
- MouseEventArgs.cs
- Vertex.cs
- TextTreeInsertElementUndoUnit.cs
- ItemList.cs
- SettingsSection.cs
- ClassValidator.cs
- SocketInformation.cs