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
- TextRangeProviderWrapper.cs
- VersionUtil.cs
- BufferAllocator.cs
- TraceUtility.cs
- MenuStrip.cs
- NetWebProxyFinder.cs
- HttpListener.cs
- Roles.cs
- SafeFileHandle.cs
- Vector3DAnimation.cs
- RowUpdatedEventArgs.cs
- GeneralTransform3DCollection.cs
- SmiMetaDataProperty.cs
- AnonymousIdentificationSection.cs
- FixedFlowMap.cs
- TouchesCapturedWithinProperty.cs
- TreeNodeCollectionEditor.cs
- CounterSampleCalculator.cs
- LazyInitializer.cs
- Math.cs
- ColorIndependentAnimationStorage.cs
- TextServicesContext.cs
- TypeToStringValueConverter.cs
- Encoder.cs
- XmlEnumAttribute.cs
- ComponentCommands.cs
- ServiceReference.cs
- BStrWrapper.cs
- VirtualizingPanel.cs
- ValidationEventArgs.cs
- ReflectionUtil.cs
- HwndSourceParameters.cs
- XmlEntityReference.cs
- ByteRangeDownloader.cs
- QueryOptionExpression.cs
- DataBoundControlParameterTarget.cs
- GradientStop.cs
- BitmapCacheBrush.cs
- PlaceHolder.cs
- ColorContextHelper.cs
- exports.cs
- HttpGetClientProtocol.cs
- DataGridItemEventArgs.cs
- AddInToken.cs
- MethodRental.cs
- TabPage.cs
- ByteAnimation.cs
- ConfigurationManagerInternalFactory.cs
- ClassValidator.cs
- MessageRpc.cs
- SiteMapPathDesigner.cs
- MsmqDecodeHelper.cs
- SQLBytesStorage.cs
- MessageBox.cs
- MouseGesture.cs
- VectorAnimationBase.cs
- WindowsImpersonationContext.cs
- FieldBuilder.cs
- HtmlShim.cs
- FillErrorEventArgs.cs
- SamlDelegatingWriter.cs
- ManipulationStartedEventArgs.cs
- FolderLevelBuildProvider.cs
- processwaithandle.cs
- SpeechEvent.cs
- IPEndPoint.cs
- XmlBinaryWriterSession.cs
- UnmanagedHandle.cs
- TypeReference.cs
- XmlDataLoader.cs
- PolyLineSegment.cs
- ExpressionBuilderCollection.cs
- ObjectItemCollection.cs
- WeakHashtable.cs
- DataGridViewIntLinkedList.cs
- Parser.cs
- AdCreatedEventArgs.cs
- BoundPropertyEntry.cs
- FileLogRecord.cs
- cookiecontainer.cs
- EvidenceTypeDescriptor.cs
- DynamicResourceExtension.cs
- BindingValueChangedEventArgs.cs
- IListConverters.cs
- WsdlExporter.cs
- SmiRecordBuffer.cs
- PeerNameRegistration.cs
- CustomTokenProvider.cs
- InputReferenceExpression.cs
- LayoutManager.cs
- Storyboard.cs
- SatelliteContractVersionAttribute.cs
- HtmlInputHidden.cs
- DependencyPropertyChangedEventArgs.cs
- MethodSet.cs
- HttpRequestCacheValidator.cs
- ListManagerBindingsCollection.cs
- BitmapPalette.cs
- XmlUrlResolver.cs
- FormView.cs