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
- Array.cs
- DifferencingCollection.cs
- DispatcherExceptionEventArgs.cs
- Table.cs
- BCLDebug.cs
- ProjectionCamera.cs
- GeometryModel3D.cs
- DataAccessor.cs
- BufferedGraphics.cs
- EventToken.cs
- Composition.cs
- DataListCommandEventArgs.cs
- ExtendedProtectionPolicyElement.cs
- SmtpReplyReaderFactory.cs
- DoubleAnimation.cs
- ApplicationCommands.cs
- GeometryHitTestResult.cs
- SslStream.cs
- DrawingGroupDrawingContext.cs
- XmlMapping.cs
- GlobalAllocSafeHandle.cs
- CompressedStack.cs
- ZipFileInfo.cs
- WpfMemberInvoker.cs
- TreeSet.cs
- FixedStringLookup.cs
- DataGridLinkButton.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- ExternalFile.cs
- EnumerableRowCollectionExtensions.cs
- ValidationError.cs
- DesignerEditorPartChrome.cs
- WrapPanel.cs
- NativeCompoundFileAPIs.cs
- StringTraceRecord.cs
- TemplateBindingExpression.cs
- XmlSchemaAnnotated.cs
- ToolStripPanelCell.cs
- XmlToDatasetMap.cs
- WorkflowApplication.cs
- DisplayNameAttribute.cs
- HttpRuntimeSection.cs
- Util.cs
- ApplicationDirectoryMembershipCondition.cs
- EventMappingSettings.cs
- Symbol.cs
- ResourceDescriptionAttribute.cs
- DrawListViewItemEventArgs.cs
- ByteStream.cs
- DesignerHelpers.cs
- BaseAutoFormat.cs
- ScriptReferenceEventArgs.cs
- MessageLoggingElement.cs
- CategoryValueConverter.cs
- PassportPrincipal.cs
- Separator.cs
- SelectionListDesigner.cs
- SqlEnums.cs
- RegexTree.cs
- BitmapCodecInfo.cs
- AccessText.cs
- ProtocolsConfigurationEntry.cs
- GridPatternIdentifiers.cs
- NavigateEvent.cs
- RadioButton.cs
- DBNull.cs
- DoubleLinkListEnumerator.cs
- UInt32Converter.cs
- PrimitiveRenderer.cs
- GridViewColumnCollectionChangedEventArgs.cs
- XPathNodeList.cs
- ExtendedProperty.cs
- CodeCommentStatementCollection.cs
- CheckPair.cs
- EdmToObjectNamespaceMap.cs
- FrameworkEventSource.cs
- FileDocument.cs
- TextDecorationLocationValidation.cs
- ValueConversionAttribute.cs
- ComponentCommands.cs
- MemoryStream.cs
- ObjectDataSourceView.cs
- HttpPostProtocolReflector.cs
- BoolExpression.cs
- DocumentXPathNavigator.cs
- BitmapMetadata.cs
- PrinterSettings.cs
- XamlReader.cs
- mediapermission.cs
- DiscoveryDocumentSearchPattern.cs
- ObfuscateAssemblyAttribute.cs
- HttpHostedTransportConfiguration.cs
- ResolveNameEventArgs.cs
- CacheMode.cs
- RequestCacheManager.cs
- SignedInfo.cs
- EventRouteFactory.cs
- ConstraintEnumerator.cs
- SoapCodeExporter.cs
- StringDictionaryWithComparer.cs