Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 2 / 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
- GenericUriParser.cs
- CookieProtection.cs
- TableRowCollection.cs
- TextRangeSerialization.cs
- DemultiplexingClientMessageFormatter.cs
- ResXFileRef.cs
- DataGridCaption.cs
- DataGridViewDataConnection.cs
- CacheChildrenQuery.cs
- ChannelManager.cs
- StrongNameIdentityPermission.cs
- SafeRightsManagementPubHandle.cs
- GlyphTypeface.cs
- WithParamAction.cs
- WhileDesigner.cs
- RowSpanVector.cs
- xamlnodes.cs
- WpfXamlType.cs
- XPathMultyIterator.cs
- DictionarySectionHandler.cs
- ListenerAdapter.cs
- ValidatingReaderNodeData.cs
- ItemChangedEventArgs.cs
- InternalReceiveMessage.cs
- RewritingValidator.cs
- DiffuseMaterial.cs
- ContentDisposition.cs
- DayRenderEvent.cs
- EntityParameter.cs
- CompositeCollection.cs
- GenerateScriptTypeAttribute.cs
- NoneExcludedImageIndexConverter.cs
- TimerElapsedEvenArgs.cs
- ObjectResult.cs
- PropertyEntry.cs
- EventRouteFactory.cs
- IndicFontClient.cs
- DbMetaDataColumnNames.cs
- ItemCheckEvent.cs
- FromReply.cs
- IndexedDataBuffer.cs
- WebBrowserContainer.cs
- JavaScriptObjectDeserializer.cs
- WebReferencesBuildProvider.cs
- FlowDocumentScrollViewer.cs
- SafeRightsManagementQueryHandle.cs
- ConfigurationSettings.cs
- RemotingException.cs
- ControlEvent.cs
- TouchesOverProperty.cs
- XmlSchemaComplexType.cs
- BuildResult.cs
- EventArgs.cs
- ChangePassword.cs
- CompareValidator.cs
- TransformerInfoCollection.cs
- HwndHost.cs
- SqlDataSourceTableQuery.cs
- DataBinding.cs
- CryptoProvider.cs
- FixedSOMLineRanges.cs
- SchemaNamespaceManager.cs
- KeyConstraint.cs
- UIntPtr.cs
- XmlDataImplementation.cs
- SqlConnectionFactory.cs
- AmbientProperties.cs
- RegisterInfo.cs
- BackStopAuthenticationModule.cs
- CodeSnippetCompileUnit.cs
- DPCustomTypeDescriptor.cs
- _DigestClient.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ReadOnlyDictionary.cs
- WinHttpWebProxyFinder.cs
- ButtonStandardAdapter.cs
- OleDbTransaction.cs
- CapabilitiesPattern.cs
- Point3D.cs
- DesignerAdapterUtil.cs
- SqlDataSourceCache.cs
- CompilerParameters.cs
- ModuleBuilderData.cs
- NamespaceInfo.cs
- SystemEvents.cs
- NoClickablePointException.cs
- ListView.cs
- DefaultTextStoreTextComposition.cs
- NullableDoubleMinMaxAggregationOperator.cs
- CharStorage.cs
- TreeViewHitTestInfo.cs
- WebHeaderCollection.cs
- PluggableProtocol.cs
- SiteMapNodeItem.cs
- PolygonHotSpot.cs
- SspiNegotiationTokenProvider.cs
- TreeWalker.cs
- VBCodeProvider.cs
- XmlnsCompatibleWithAttribute.cs
- SimpleType.cs