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
- xml.cs
- xsdvalidator.cs
- ArgumentNullException.cs
- SqlPersonalizationProvider.cs
- UriTemplateMatch.cs
- ISO2022Encoding.cs
- CustomErrorsSectionWrapper.cs
- WebEventTraceProvider.cs
- Point4DConverter.cs
- FontFamily.cs
- ToolStripButton.cs
- FormViewUpdateEventArgs.cs
- HtmlElement.cs
- PenContexts.cs
- SeekableReadStream.cs
- DPAPIProtectedConfigurationProvider.cs
- CryptoProvider.cs
- SolidBrush.cs
- DataRecordInternal.cs
- BrowserDefinitionCollection.cs
- DataDocumentXPathNavigator.cs
- InstanceDataCollection.cs
- SafeThemeHandle.cs
- PageEventArgs.cs
- ObjectMemberMapping.cs
- QuaternionRotation3D.cs
- D3DImage.cs
- TableDetailsRow.cs
- WorkflowRuntimeService.cs
- WebPartDeleteVerb.cs
- XPathPatternParser.cs
- ParameterElement.cs
- TableColumn.cs
- log.cs
- MaskedTextProvider.cs
- OleDbWrapper.cs
- CombinedGeometry.cs
- Menu.cs
- OracleDataAdapter.cs
- x509store.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- RecordConverter.cs
- RtfToken.cs
- HttpCapabilitiesSectionHandler.cs
- TreeNode.cs
- RightsManagementEncryptedStream.cs
- PointLight.cs
- EnlistmentTraceIdentifier.cs
- _LocalDataStoreMgr.cs
- SolidBrush.cs
- QilPatternVisitor.cs
- SynchronizationContext.cs
- Tuple.cs
- DataGridViewRowsAddedEventArgs.cs
- Win32PrintDialog.cs
- InfoCardSymmetricCrypto.cs
- DesignerHelpers.cs
- CustomError.cs
- NativeMethods.cs
- login.cs
- _DigestClient.cs
- EventSinkHelperWriter.cs
- Opcode.cs
- PersonalizationProviderCollection.cs
- CodeDefaultValueExpression.cs
- OdbcParameterCollection.cs
- KeyInfo.cs
- SrgsRuleRef.cs
- RuleCache.cs
- SecureStringHasher.cs
- DataGridViewColumnCollection.cs
- FormattedTextSymbols.cs
- FileDetails.cs
- SelectionProcessor.cs
- SQLSingle.cs
- DataViewSetting.cs
- GridViewCommandEventArgs.cs
- FrameworkTextComposition.cs
- Compiler.cs
- AxParameterData.cs
- QueryConverter.cs
- TableMethodGenerator.cs
- NestPullup.cs
- GeneralTransform3DGroup.cs
- List.cs
- ADConnectionHelper.cs
- ISessionStateStore.cs
- TypeNameConverter.cs
- WebServiceBindingAttribute.cs
- TiffBitmapEncoder.cs
- XmlDeclaration.cs
- WebException.cs
- GuidelineCollection.cs
- LinqDataSource.cs
- DataGridViewColumnCollection.cs
- _NestedSingleAsyncResult.cs
- RoleManagerEventArgs.cs
- RecordManager.cs
- DataGridViewRowHeaderCell.cs
- CodeGenerator.cs