Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / HelpInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * HelpInfo.cs * * Revision History: * * 09/04/02 [....] * Created it. * \**************************************************************************/ 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XhtmlBasicTextViewAdapter.cs
- ListChunk.cs
- Crc32.cs
- LineSegment.cs
- SmiContextFactory.cs
- EpmTargetTree.cs
- InputReport.cs
- ExtendedProtectionPolicy.cs
- ModifierKeysValueSerializer.cs
- ObjectDataSourceMethodEventArgs.cs
- ActivityCompletionCallbackWrapper.cs
- BooleanToVisibilityConverter.cs
- FreezableOperations.cs
- WebPartDescription.cs
- ErrorHandler.cs
- FormsAuthentication.cs
- CodeBinaryOperatorExpression.cs
- DataGridViewCellConverter.cs
- WebPartDescription.cs
- CultureData.cs
- MonitorWrapper.cs
- OdbcInfoMessageEvent.cs
- WindowsListViewItemStartMenu.cs
- StyleSheetComponentEditor.cs
- ToolStripLocationCancelEventArgs.cs
- FixedPageAutomationPeer.cs
- bindurihelper.cs
- HMACRIPEMD160.cs
- LineGeometry.cs
- InvalidCommandTreeException.cs
- XmlStreamStore.cs
- UnsafePeerToPeerMethods.cs
- XmlToDatasetMap.cs
- RouteParametersHelper.cs
- OleDbEnumerator.cs
- URIFormatException.cs
- StreamInfo.cs
- MenuItemStyle.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- HeaderPanel.cs
- SerializationBinder.cs
- VersionedStream.cs
- ListManagerBindingsCollection.cs
- ToolboxComponentsCreatedEventArgs.cs
- WSFederationHttpBindingElement.cs
- SystemIPInterfaceProperties.cs
- ExtensionSimplifierMarkupObject.cs
- CurrentTimeZone.cs
- SqlTriggerAttribute.cs
- CheckBox.cs
- CurrentChangingEventManager.cs
- SoapDocumentMethodAttribute.cs
- TypeBuilderInstantiation.cs
- ObjectManager.cs
- ResolveNameEventArgs.cs
- ThreadStaticAttribute.cs
- ThreadAbortException.cs
- MenuItemCollectionEditor.cs
- WindowsUpDown.cs
- Grid.cs
- DetailsViewActionList.cs
- Bits.cs
- NotImplementedException.cs
- ListViewItemEventArgs.cs
- TypeBinaryExpression.cs
- DropShadowEffect.cs
- DataDocumentXPathNavigator.cs
- XPathAxisIterator.cs
- PrinterSettings.cs
- FontCollection.cs
- XmlnsCache.cs
- DataGridCaption.cs
- ISAPIWorkerRequest.cs
- XmlChoiceIdentifierAttribute.cs
- FormView.cs
- OuterGlowBitmapEffect.cs
- OdbcException.cs
- MachineKeySection.cs
- TdsParserStaticMethods.cs
- AsyncDataRequest.cs
- PageAsyncTaskManager.cs
- PrePrepareMethodAttribute.cs
- NonParentingControl.cs
- Label.cs
- UnionExpr.cs
- DataGridViewColumnConverter.cs
- TextClipboardData.cs
- TemplatePartAttribute.cs
- ScrollBarAutomationPeer.cs
- MenuEventArgs.cs
- ISCIIEncoding.cs
- PersistNameAttribute.cs
- ScriptingAuthenticationServiceSection.cs
- StringInfo.cs
- QueryableDataSourceHelper.cs
- TogglePattern.cs
- XmlEncoding.cs
- Scripts.cs
- TemplateParser.cs
- _UncName.cs