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
- BindingGroup.cs
- RowBinding.cs
- HttpFileCollection.cs
- BinHexEncoding.cs
- DodSequenceMerge.cs
- HttpModuleActionCollection.cs
- ValuePatternIdentifiers.cs
- DecoderReplacementFallback.cs
- diagnosticsswitches.cs
- Convert.cs
- Encoder.cs
- MobileControlsSectionHelper.cs
- UriSection.cs
- CompilerCollection.cs
- TransformGroup.cs
- MD5CryptoServiceProvider.cs
- WsatConfiguration.cs
- RuntimeConfig.cs
- __Filters.cs
- XPathItem.cs
- ReliableReplySessionChannel.cs
- UnionCodeGroup.cs
- ResourcePool.cs
- SqlAliaser.cs
- ContainerFilterService.cs
- SplitterCancelEvent.cs
- ZoneButton.cs
- WmlPageAdapter.cs
- HttpResponseBase.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- XmlChildEnumerator.cs
- SamlAssertion.cs
- ArcSegment.cs
- FixedLineResult.cs
- ISSmlParser.cs
- InlineObject.cs
- Input.cs
- AdornedElementPlaceholder.cs
- PageRequestManager.cs
- ClientSettingsSection.cs
- ToolStripDropDownDesigner.cs
- CodeExporter.cs
- SchemaImporterExtensionElement.cs
- TextEditorContextMenu.cs
- ConfigXmlElement.cs
- ProfileInfo.cs
- PerformanceCounterPermission.cs
- LayoutInformation.cs
- dbdatarecord.cs
- SequenceDesigner.cs
- Query.cs
- BindingNavigatorDesigner.cs
- IgnoreFileBuildProvider.cs
- ProfilePropertySettings.cs
- BrowserCapabilitiesFactory.cs
- XmlAnyElementAttributes.cs
- StaticFileHandler.cs
- StorageMappingItemCollection.cs
- XmlWrappingReader.cs
- InvalidContentTypeException.cs
- StickyNoteAnnotations.cs
- WebPartConnectionsCancelEventArgs.cs
- IndexedString.cs
- ClientConfigurationSystem.cs
- PanelContainerDesigner.cs
- StrongNameIdentityPermission.cs
- ChineseLunisolarCalendar.cs
- GridViewUpdatedEventArgs.cs
- ResourceDefaultValueAttribute.cs
- Button.cs
- RegistrySecurity.cs
- VirtualDirectoryMapping.cs
- CodeAccessPermission.cs
- LostFocusEventManager.cs
- FaultDescription.cs
- XamlUtilities.cs
- ListItemCollection.cs
- DecimalConverter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ProfileParameter.cs
- InputScopeAttribute.cs
- MasterPageParser.cs
- Pens.cs
- ObjectView.cs
- KeyboardDevice.cs
- xmlfixedPageInfo.cs
- CrossContextChannel.cs
- ApplicationId.cs
- CultureInfoConverter.cs
- CryptoProvider.cs
- XPathDocumentIterator.cs
- SmtpClient.cs
- SslStream.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- XmlAttributeCollection.cs
- DataGridViewSortCompareEventArgs.cs
- Quaternion.cs
- Duration.cs
- VariableAction.cs
- ClientApiGenerator.cs