Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- InputReport.cs
- UriScheme.cs
- AttachedAnnotation.cs
- ExtensionDataObject.cs
- TextBoxBase.cs
- SmiConnection.cs
- OdbcException.cs
- ToolStripArrowRenderEventArgs.cs
- SolidColorBrush.cs
- Pair.cs
- ToolStripLabel.cs
- RenderOptions.cs
- PngBitmapEncoder.cs
- MessageQueueInstaller.cs
- AssertSection.cs
- Encoder.cs
- ActivationServices.cs
- TransformGroup.cs
- BinHexEncoding.cs
- ITreeGenerator.cs
- FormsAuthenticationModule.cs
- LogManagementAsyncResult.cs
- ClientScriptManager.cs
- ContentPropertyAttribute.cs
- UpdateCommand.cs
- PasswordPropertyTextAttribute.cs
- thaishape.cs
- HttpRawResponse.cs
- RtfToken.cs
- HttpPostedFile.cs
- BaseAppDomainProtocolHandler.cs
- CodeDirectoryCompiler.cs
- FlowThrottle.cs
- BuildProvidersCompiler.cs
- WindowsAltTab.cs
- StrongNamePublicKeyBlob.cs
- MultiBindingExpression.cs
- SettingsBindableAttribute.cs
- PageSetupDialog.cs
- TreeViewDesigner.cs
- UdpDuplexChannel.cs
- DataGridViewRow.cs
- DataGridViewRowsAddedEventArgs.cs
- SecurityUtils.cs
- DataGridColumnHeadersPresenter.cs
- SqlDependencyListener.cs
- Attributes.cs
- EditorPartChrome.cs
- TdsParserHelperClasses.cs
- Transactions.cs
- SmiSettersStream.cs
- _HelperAsyncResults.cs
- CrossContextChannel.cs
- EntityViewContainer.cs
- TextProperties.cs
- PropertiesTab.cs
- WebConfigurationManager.cs
- Crc32Helper.cs
- AliasExpr.cs
- _Semaphore.cs
- Binding.cs
- Int32RectValueSerializer.cs
- Suspend.cs
- DragDeltaEventArgs.cs
- MobileListItem.cs
- FileSystemEnumerable.cs
- ResourceContainer.cs
- DataKeyPropertyAttribute.cs
- DataGridViewTopRowAccessibleObject.cs
- AppDomainFactory.cs
- CipherData.cs
- RegexWriter.cs
- ImmutablePropertyDescriptorGridEntry.cs
- ToolStripItemCollection.cs
- DelegateBodyWriter.cs
- InvokeCompletedEventArgs.cs
- StreamMarshaler.cs
- DataGridToolTip.cs
- ListSourceHelper.cs
- RelationshipManager.cs
- CompositeScriptReferenceEventArgs.cs
- CharUnicodeInfo.cs
- UrlRoutingModule.cs
- ReverseQueryOperator.cs
- ReadWriteSpinLock.cs
- OutputScope.cs
- TextUtf8RawTextWriter.cs
- OutputCacheProviderCollection.cs
- TextEditorTables.cs
- Automation.cs
- ParenthesizePropertyNameAttribute.cs
- WCFServiceClientProxyGenerator.cs
- WebSysDisplayNameAttribute.cs
- XPathDocumentNavigator.cs
- TemplateControl.cs
- Content.cs
- DefaultEventAttribute.cs
- SpecialFolderEnumConverter.cs
- PageCodeDomTreeGenerator.cs
- XmlSchemaSimpleTypeUnion.cs