Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / HelpInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * HelpInfo.cs * * Revision History: * * 09/04/02 [....] * Created it. * \**************************************************************************/ 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventLogEntry.cs
- DynamicResourceExtensionConverter.cs
- SweepDirectionValidation.cs
- ToolStripContentPanel.cs
- RoleManagerEventArgs.cs
- GridViewPageEventArgs.cs
- AspNetSynchronizationContext.cs
- DebugHandleTracker.cs
- RtfToXamlReader.cs
- NamespaceTable.cs
- SwitchCase.cs
- ExceptionHelpers.cs
- WebPartCancelEventArgs.cs
- ConstraintConverter.cs
- HtmlTitle.cs
- HtmlWindow.cs
- UIElementCollection.cs
- NativeMethodsCLR.cs
- RightsManagementEncryptedStream.cs
- TemplateLookupAction.cs
- StorageModelBuildProvider.cs
- XmlImplementation.cs
- XmlResolver.cs
- XPathScanner.cs
- HttpTransportElement.cs
- StorageMappingItemLoader.cs
- FloaterBaseParaClient.cs
- TextWriterTraceListener.cs
- DiagnosticStrings.cs
- AssociatedControlConverter.cs
- securitycriticaldataClass.cs
- FixedStringLookup.cs
- FormCollection.cs
- EventLogEntryCollection.cs
- Boolean.cs
- IriParsingElement.cs
- EventLogInformation.cs
- TypeResolvingOptionsAttribute.cs
- WorkflowApplicationCompletedException.cs
- CodeThrowExceptionStatement.cs
- ProfileSection.cs
- WindowsListBox.cs
- MessageSecurityVersionConverter.cs
- XmlEncodedRawTextWriter.cs
- Trace.cs
- DashStyle.cs
- ButtonField.cs
- ClassicBorderDecorator.cs
- DocumentViewerBase.cs
- ImageCollectionCodeDomSerializer.cs
- WindowInteropHelper.cs
- NativeMethods.cs
- ZipFileInfo.cs
- AssemblyNameProxy.cs
- MatrixIndependentAnimationStorage.cs
- FixedSOMImage.cs
- KnownBoxes.cs
- ObfuscateAssemblyAttribute.cs
- DataView.cs
- ProgressPage.cs
- CalendarAutoFormatDialog.cs
- FixedTextPointer.cs
- TypeToken.cs
- PixelFormats.cs
- ActiveXContainer.cs
- ParserHooks.cs
- ToolboxComponentsCreatingEventArgs.cs
- FlagsAttribute.cs
- NeutralResourcesLanguageAttribute.cs
- FileDialog.cs
- ClientUrlResolverWrapper.cs
- DetailsViewCommandEventArgs.cs
- TextRangeProviderWrapper.cs
- WebPartHeaderCloseVerb.cs
- VisualBrush.cs
- TemplatePagerField.cs
- RbTree.cs
- PersonalizationStateInfo.cs
- ILGenerator.cs
- LineBreakRecord.cs
- UnauthorizedWebPart.cs
- InputElement.cs
- ObjectStateManagerMetadata.cs
- ForceCopyBuildProvider.cs
- DataErrorValidationRule.cs
- DataGridViewCellStateChangedEventArgs.cs
- Debugger.cs
- TabItem.cs
- EncryptedReference.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- HMACSHA1.cs
- WebPart.cs
- HandlerFactoryWrapper.cs
- FigureParaClient.cs
- BrowserDefinitionCollection.cs
- ConnectionPoint.cs
- DataGridViewSelectedColumnCollection.cs
- WebPartTracker.cs
- SkipStoryboardToFill.cs
- CompositeCollection.cs