Code:
/ FX-1434 / FX-1434 / 1.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
- DetailsViewDeletedEventArgs.cs
- SQlBooleanStorage.cs
- WorkingDirectoryEditor.cs
- HttpModuleAction.cs
- X509Certificate.cs
- ProxyWebPartConnectionCollection.cs
- ToolStripItemCollection.cs
- TypeForwardedToAttribute.cs
- connectionpool.cs
- controlskin.cs
- Bits.cs
- activationcontext.cs
- PlaceHolder.cs
- httpserverutility.cs
- VisualTarget.cs
- ValidatingCollection.cs
- OrderByExpression.cs
- CodeDirectoryCompiler.cs
- WinHttpWebProxyFinder.cs
- GenericEnumConverter.cs
- PropertyItemInternal.cs
- SpnEndpointIdentity.cs
- TableCellAutomationPeer.cs
- QueryResponse.cs
- DecimalAnimation.cs
- BitmapEffectInput.cs
- XmlReflectionMember.cs
- login.cs
- ExpressionConverter.cs
- HelpEvent.cs
- XsdDataContractExporter.cs
- SingleKeyFrameCollection.cs
- RemotingServices.cs
- ManagementObject.cs
- Point3DAnimationUsingKeyFrames.cs
- WpfWebRequestHelper.cs
- DmlSqlGenerator.cs
- Vector.cs
- CommandHelper.cs
- StylusSystemGestureEventArgs.cs
- GPStream.cs
- DateTimeFormatInfoScanner.cs
- XmlNodeReader.cs
- webclient.cs
- NullableFloatMinMaxAggregationOperator.cs
- PriorityChain.cs
- DesignConnection.cs
- XmlKeywords.cs
- AdjustableArrowCap.cs
- DataGridItem.cs
- FrugalList.cs
- Switch.cs
- OLEDB_Enum.cs
- Cursor.cs
- RepeatButton.cs
- _ListenerResponseStream.cs
- CodeIdentifiers.cs
- dataobject.cs
- httpserverutility.cs
- SqlInfoMessageEvent.cs
- NoneExcludedImageIndexConverter.cs
- Keywords.cs
- UriParserTemplates.cs
- HtmlControlPersistable.cs
- XPathParser.cs
- WindowCollection.cs
- MouseOverProperty.cs
- TypefaceMap.cs
- IDReferencePropertyAttribute.cs
- MenuScrollingVisibilityConverter.cs
- CompilerInfo.cs
- AutoCompleteStringCollection.cs
- ThicknessAnimationBase.cs
- DataGridViewTextBoxCell.cs
- ObjectQuery_EntitySqlExtensions.cs
- PackagePart.cs
- GradientStopCollection.cs
- XPathNodeInfoAtom.cs
- ErrorProvider.cs
- OdbcParameter.cs
- CodeMemberEvent.cs
- OracleParameterCollection.cs
- XmlSchemaValidationException.cs
- StatusBarItemAutomationPeer.cs
- ObjectListDesigner.cs
- SoapSchemaMember.cs
- UnionCodeGroup.cs
- HealthMonitoringSection.cs
- ResourceReader.cs
- NativeObjectSecurity.cs
- TextTreePropertyUndoUnit.cs
- BuildManager.cs
- ByteAnimationUsingKeyFrames.cs
- PlainXmlWriter.cs
- SoapObjectReader.cs
- DictionaryEntry.cs
- ReadOnlyHierarchicalDataSource.cs
- IFormattable.cs
- FloatUtil.cs
- CodeBinaryOperatorExpression.cs