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
- TextPattern.cs
- Monitor.cs
- TypeFieldSchema.cs
- MultipleViewPattern.cs
- SqlAggregateChecker.cs
- RowUpdatedEventArgs.cs
- StreamResourceInfo.cs
- TimersDescriptionAttribute.cs
- PropertyRef.cs
- FilePrompt.cs
- TransformCryptoHandle.cs
- UiaCoreApi.cs
- WindowsAuthenticationEventArgs.cs
- DoubleIndependentAnimationStorage.cs
- Style.cs
- SubstitutionDesigner.cs
- Transform3DCollection.cs
- ProcessManager.cs
- ArgIterator.cs
- DataControlFieldCell.cs
- WarningException.cs
- GlyphElement.cs
- ApplicationTrust.cs
- QilTypeChecker.cs
- FieldNameLookup.cs
- DbResourceAllocator.cs
- UrlPath.cs
- ComEventsInfo.cs
- PropertyDescriptorCollection.cs
- ApplicationDirectory.cs
- AdvancedBindingEditor.cs
- HttpRequestCacheValidator.cs
- HuffmanTree.cs
- ScaleTransform.cs
- RtfToXamlLexer.cs
- LogRecordSequence.cs
- CodeSnippetExpression.cs
- HandlerBase.cs
- ObjectSecurity.cs
- BindableTemplateBuilder.cs
- ProfessionalColorTable.cs
- ActivityInstanceReference.cs
- IdleTimeoutMonitor.cs
- TableCellsCollectionEditor.cs
- ListDictionaryInternal.cs
- SqlDataSourceSelectingEventArgs.cs
- ExpressionBuilderContext.cs
- SerializationException.cs
- TimeSpanValidatorAttribute.cs
- SqlException.cs
- PixelShader.cs
- ConfigXmlSignificantWhitespace.cs
- DragStartedEventArgs.cs
- X509Certificate2.cs
- ControlCachePolicy.cs
- ConditionalAttribute.cs
- DataGridViewCellStyleConverter.cs
- SchemaCollectionCompiler.cs
- Decimal.cs
- EdmToObjectNamespaceMap.cs
- FacetEnabledSchemaElement.cs
- XmlSchemaAttribute.cs
- XmlSerializer.cs
- ModelItem.cs
- ColumnReorderedEventArgs.cs
- TransformerConfigurationWizardBase.cs
- CountAggregationOperator.cs
- LockingPersistenceProvider.cs
- SystemKeyConverter.cs
- SqlRecordBuffer.cs
- WorkflowIdleElement.cs
- Color.cs
- OleDbMetaDataFactory.cs
- IdentityReference.cs
- TextDecorationCollection.cs
- RuntimeWrappedException.cs
- Expression.DebuggerProxy.cs
- ObjectDataSourceDisposingEventArgs.cs
- ValueUnavailableException.cs
- RewritingPass.cs
- ExcCanonicalXml.cs
- CommentAction.cs
- DependencyObject.cs
- SerializationInfo.cs
- SubqueryRules.cs
- Pkcs7Signer.cs
- HtmlInputSubmit.cs
- CompilerParameters.cs
- DataRecordObjectView.cs
- Condition.cs
- TreeViewAutomationPeer.cs
- SizeConverter.cs
- Transform3DCollection.cs
- Vector3DConverter.cs
- SafeRegistryHandle.cs
- EllipseGeometry.cs
- DPCustomTypeDescriptor.cs
- ValidationErrorCollection.cs
- DataSourceSelectArguments.cs
- DocumentPageHost.cs