Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / 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
- SqlConnectionString.cs
- RuntimeComponentFilter.cs
- WindowsRebar.cs
- GridPatternIdentifiers.cs
- PropertyValueChangedEvent.cs
- UpdatePanelControlTrigger.cs
- SqlWebEventProvider.cs
- LineGeometry.cs
- IdnMapping.cs
- oledbconnectionstring.cs
- TextTreeUndoUnit.cs
- ToolStripContainer.cs
- XmlTextWriter.cs
- MemberNameValidator.cs
- Matrix3DStack.cs
- RegistryKey.cs
- NavigationCommands.cs
- FormParameter.cs
- FilterableAttribute.cs
- DynamicValueConverter.cs
- GenericPrincipal.cs
- DescendantOverDescendantQuery.cs
- FontStretchConverter.cs
- DocumentAutomationPeer.cs
- TreeNodeEventArgs.cs
- MenuItemBinding.cs
- DefaultSerializationProviderAttribute.cs
- TokenBasedSetEnumerator.cs
- CodeCompileUnit.cs
- TextEditorMouse.cs
- SHA1Cng.cs
- Latin1Encoding.cs
- WebZone.cs
- DynamicHyperLink.cs
- TraceHandler.cs
- ControlParameter.cs
- Ipv6Element.cs
- CloseSequenceResponse.cs
- PopupEventArgs.cs
- CodeEventReferenceExpression.cs
- RoleManagerModule.cs
- LogArchiveSnapshot.cs
- DataKeyCollection.cs
- TriState.cs
- SafeFileHandle.cs
- StrokeNodeEnumerator.cs
- WebBrowserUriTypeConverter.cs
- ClickablePoint.cs
- CqlWriter.cs
- WmlTextBoxAdapter.cs
- GlobalizationAssembly.cs
- LateBoundBitmapDecoder.cs
- DateTimeOffset.cs
- SingleAnimationBase.cs
- DocumentPage.cs
- TableLayoutColumnStyleCollection.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SqlExpander.cs
- FormsAuthenticationUserCollection.cs
- StringAnimationBase.cs
- TreeNode.cs
- IconConverter.cs
- MessageEventSubscriptionService.cs
- EnumBuilder.cs
- HMACMD5.cs
- WebPartZone.cs
- GlobalItem.cs
- NonVisualControlAttribute.cs
- SingleTagSectionHandler.cs
- ProcessStartInfo.cs
- _BasicClient.cs
- SiteMapDataSource.cs
- StyleBamlRecordReader.cs
- SoapExtensionReflector.cs
- HTTPAPI_VERSION.cs
- DataGridViewColumn.cs
- DataKeyArray.cs
- dbenumerator.cs
- MasterPageBuildProvider.cs
- PathFigureCollectionConverter.cs
- ForeignConstraint.cs
- TransactionProtocolConverter.cs
- ButtonBaseAutomationPeer.cs
- WebPartDisplayModeCollection.cs
- Base64Decoder.cs
- VScrollBar.cs
- EnumMemberAttribute.cs
- IncrementalHitTester.cs
- ListBoxItemAutomationPeer.cs
- GeneratedContractType.cs
- FileLoadException.cs
- DataControlReferenceCollection.cs
- DataSourceSelectArguments.cs
- NativeMethods.cs
- SHA512Cng.cs
- WindowsScroll.cs
- RoleManagerSection.cs
- PeerApplication.cs
- Debug.cs
- DesignerTextViewAdapter.cs