Code:
/ DotNET / DotNET / 8.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
- TraceHandler.cs
- XmlMemberMapping.cs
- ToolStripSettings.cs
- ListBoxAutomationPeer.cs
- ValidationPropertyAttribute.cs
- RenderOptions.cs
- DesignOnlyAttribute.cs
- BulletedList.cs
- SmtpSection.cs
- DbProviderServices.cs
- WpfKnownTypeInvoker.cs
- PriorityItem.cs
- _DomainName.cs
- FileVersion.cs
- DummyDataSource.cs
- SiteMapNode.cs
- DataGridViewRowsRemovedEventArgs.cs
- FunctionImportMapping.cs
- TypeDescriptionProvider.cs
- LoadMessageLogger.cs
- FormatConvertedBitmap.cs
- ResourcePermissionBaseEntry.cs
- ToolStripItemTextRenderEventArgs.cs
- DeferredTextReference.cs
- OrderedHashRepartitionStream.cs
- Point3DConverter.cs
- HtmlControl.cs
- RectKeyFrameCollection.cs
- x509utils.cs
- MessageBodyDescription.cs
- DesignerDataView.cs
- PlainXmlDeserializer.cs
- sqlser.cs
- InfoCardConstants.cs
- FileSystemEventArgs.cs
- Helpers.cs
- SchemaElementDecl.cs
- TextDecorationUnitValidation.cs
- XmlILIndex.cs
- XMLSchema.cs
- ByeOperation11AsyncResult.cs
- ServiceSettingsResponseInfo.cs
- FacetValues.cs
- TextParentUndoUnit.cs
- PolyBezierSegmentFigureLogic.cs
- InputDevice.cs
- FixedBufferAttribute.cs
- EventProvider.cs
- DataView.cs
- ValueSerializer.cs
- ThemeDirectoryCompiler.cs
- Application.cs
- PrintPageEvent.cs
- ThreadAbortException.cs
- EnumConverter.cs
- SemaphoreSecurity.cs
- LastQueryOperator.cs
- XPathNavigatorKeyComparer.cs
- HtmlValidationSummaryAdapter.cs
- ObjectCloneHelper.cs
- ExtendedPropertyCollection.cs
- LoginAutoFormat.cs
- InvokeCompletedEventArgs.cs
- RNGCryptoServiceProvider.cs
- MetadataAssemblyHelper.cs
- HashHelper.cs
- RestHandler.cs
- ImageCollectionEditor.cs
- HttpProcessUtility.cs
- ChangeTracker.cs
- XmlDomTextWriter.cs
- ValidationEventArgs.cs
- PolyBezierSegment.cs
- ObjectAnimationUsingKeyFrames.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- RuleProcessor.cs
- DbDataReader.cs
- XmlLanguage.cs
- ConfigurationManagerInternal.cs
- ParentQuery.cs
- ExecutionContext.cs
- StorageEntityTypeMapping.cs
- ObjectStateEntry.cs
- ApplicationContext.cs
- sqlinternaltransaction.cs
- LoadedEvent.cs
- SynchronizationContext.cs
- Invariant.cs
- XmlDeclaration.cs
- WebBaseEventKeyComparer.cs
- WindowsAuthenticationEventArgs.cs
- Camera.cs
- TypeLibConverter.cs
- FrameworkElement.cs
- ProtocolsConfigurationHandler.cs
- ComboBox.cs
- PropertyMapper.cs
- HttpAsyncResult.cs
- VarInfo.cs
- DateTimeSerializationSection.cs