Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeTypeParameterCollection.cs
- RangeValueProviderWrapper.cs
- _ConnectionGroup.cs
- MetabaseServerConfig.cs
- RawStylusInputReport.cs
- DefaultSettingsSection.cs
- BinaryConverter.cs
- SpotLight.cs
- OleDbPermission.cs
- ReflectionUtil.cs
- WaitForChangedResult.cs
- BeginEvent.cs
- RuntimeTransactionHandle.cs
- InputProcessorProfiles.cs
- CollectionViewGroupRoot.cs
- WindowsServiceCredential.cs
- Version.cs
- InstanceDataCollectionCollection.cs
- TlsnegoTokenAuthenticator.cs
- UnknownBitmapEncoder.cs
- SpeechRecognizer.cs
- MapPathBasedVirtualPathProvider.cs
- GeneralTransform2DTo3DTo2D.cs
- WebPartEditVerb.cs
- SelectionRangeConverter.cs
- HostedTransportConfigurationBase.cs
- EntityReference.cs
- NotifyCollectionChangedEventArgs.cs
- EntityDataSource.cs
- RuntimeWrappedException.cs
- XmlAttributeCache.cs
- AbstractExpressions.cs
- EntityChangedParams.cs
- SoapCodeExporter.cs
- ObjectDataSourceFilteringEventArgs.cs
- PixelShader.cs
- DataListItemCollection.cs
- BrowserDefinitionCollection.cs
- CLRBindingWorker.cs
- DataTableTypeConverter.cs
- BufferedReadStream.cs
- ViewCellSlot.cs
- TypeSemantics.cs
- COM2ExtendedBrowsingHandler.cs
- SemanticResolver.cs
- ParameterBuilder.cs
- WindowsGraphics2.cs
- InheritanceContextHelper.cs
- OrCondition.cs
- AuthenticateEventArgs.cs
- XmlWrappingReader.cs
- DataGridToolTip.cs
- OuterGlowBitmapEffect.cs
- SpeakProgressEventArgs.cs
- DBCSCodePageEncoding.cs
- SecurityContextTokenValidationException.cs
- ScaleTransform3D.cs
- TabRenderer.cs
- GridLength.cs
- CacheMemory.cs
- DocumentPageViewAutomationPeer.cs
- messageonlyhwndwrapper.cs
- recordstatescratchpad.cs
- TypeDescriptionProvider.cs
- _StreamFramer.cs
- BasicSecurityProfileVersion.cs
- MTConfigUtil.cs
- LateBoundBitmapDecoder.cs
- RoleBoolean.cs
- ExpressionPrefixAttribute.cs
- InvalidAsynchronousStateException.cs
- CodeStatementCollection.cs
- SqlUtils.cs
- ListControl.cs
- DirectoryInfo.cs
- SafeCloseHandleCritical.cs
- WorkflowView.cs
- BuildManager.cs
- DataControlExtensions.cs
- ChildTable.cs
- SoapMessage.cs
- regiisutil.cs
- ToolStripContainer.cs
- PriorityQueue.cs
- InternalBufferOverflowException.cs
- lengthconverter.cs
- ConfigurationManagerInternalFactory.cs
- FontStyle.cs
- DictionarySectionHandler.cs
- XmlTextAttribute.cs
- Transform.cs
- XMLUtil.cs
- LineServicesCallbacks.cs
- COM2IProvidePropertyBuilderHandler.cs
- ListCollectionView.cs
- TextSegment.cs
- SamlAssertionKeyIdentifierClause.cs
- WebAdminConfigurationHelper.cs
- XmlIncludeAttribute.cs
- PixelFormatConverter.cs