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
- BaseCodeDomTreeGenerator.cs
- Rect3DConverter.cs
- MemoryPressure.cs
- GeneralTransform3DTo2D.cs
- StringSorter.cs
- AppDomainAttributes.cs
- DialogResultConverter.cs
- AttributeAction.cs
- IndentTextWriter.cs
- TypeInitializationException.cs
- ComplexType.cs
- DelegateBodyWriter.cs
- MemberDescriptor.cs
- Oci.cs
- ColumnTypeConverter.cs
- Types.cs
- ConfigViewGenerator.cs
- BuildManager.cs
- NameValueFileSectionHandler.cs
- WebServiceHostFactory.cs
- DefaultBinder.cs
- Composition.cs
- FolderBrowserDialog.cs
- InternalRelationshipCollection.cs
- MetadataPropertyCollection.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- HttpProfileGroupBase.cs
- RecognizerInfo.cs
- shaperfactory.cs
- WorkflowWebService.cs
- glyphs.cs
- SecurityContextSecurityTokenResolver.cs
- SqlAliasesReferenced.cs
- MetadataWorkspace.cs
- GridLengthConverter.cs
- DayRenderEvent.cs
- ExclusiveTcpTransportManager.cs
- WebEvents.cs
- DesignTimeVisibleAttribute.cs
- ReflectPropertyDescriptor.cs
- TempEnvironment.cs
- ModuleBuilderData.cs
- CachedFontFamily.cs
- TreeWalker.cs
- DragDropHelper.cs
- CapabilitiesRule.cs
- SendSecurityHeaderElementContainer.cs
- FakeModelPropertyImpl.cs
- Win32SafeHandles.cs
- OAVariantLib.cs
- Roles.cs
- DataKey.cs
- UIElement3DAutomationPeer.cs
- SqlServices.cs
- LinkClickEvent.cs
- HtmlInputButton.cs
- Transform3D.cs
- TextContainerHelper.cs
- PolicyManager.cs
- FormsAuthenticationConfiguration.cs
- BulletDecorator.cs
- UserMapPath.cs
- ZipIOBlockManager.cs
- DelegateArgument.cs
- EntityViewContainer.cs
- _LocalDataStoreMgr.cs
- Select.cs
- DataGridPageChangedEventArgs.cs
- MappingItemCollection.cs
- TemplateControl.cs
- EntityUtil.cs
- TypeSemantics.cs
- dtdvalidator.cs
- RectAnimationBase.cs
- ProviderManager.cs
- SudsParser.cs
- ValueSerializerAttribute.cs
- AnnotationAdorner.cs
- ListView.cs
- TimerElapsedEvenArgs.cs
- SoapSchemaExporter.cs
- HttpCapabilitiesBase.cs
- NTAccount.cs
- DataGridCommandEventArgs.cs
- DataGridViewImageCell.cs
- BmpBitmapDecoder.cs
- NullableBoolConverter.cs
- ExtractorMetadata.cs
- RotateTransform.cs
- Msec.cs
- BinaryMessageFormatter.cs
- UseLicense.cs
- TaskSchedulerException.cs
- CacheDependency.cs
- EDesignUtil.cs
- NativeWindow.cs
- GZipDecoder.cs
- HandlerMappingMemo.cs
- InkCollectionBehavior.cs
- DataGridViewBindingCompleteEventArgs.cs