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
- ColorContext.cs
- CommonProperties.cs
- TcpTransportManager.cs
- FileDataSource.cs
- GroupDescription.cs
- DataListItemEventArgs.cs
- WCFServiceClientProxyGenerator.cs
- EmptyImpersonationContext.cs
- EventSourceCreationData.cs
- GatewayIPAddressInformationCollection.cs
- ParagraphVisual.cs
- ILGenerator.cs
- x509utils.cs
- Attributes.cs
- TiffBitmapDecoder.cs
- FunctionImportElement.cs
- ConnectionConsumerAttribute.cs
- SoapTypeAttribute.cs
- CryptoConfig.cs
- IdentityReference.cs
- HtmlContainerControl.cs
- DataGridViewCell.cs
- ServerValidateEventArgs.cs
- KeyboardDevice.cs
- XmlFormatExtensionAttribute.cs
- WebBrowserHelper.cs
- PropertyTabAttribute.cs
- AudioBase.cs
- SolidColorBrush.cs
- CaretElement.cs
- coordinatorfactory.cs
- StringConcat.cs
- UserInitiatedNavigationPermission.cs
- MimeFormImporter.cs
- SchemaImporter.cs
- UiaCoreApi.cs
- StructuralType.cs
- AggregationMinMaxHelpers.cs
- LocalizableAttribute.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- SmtpMail.cs
- mda.cs
- ProgressBarAutomationPeer.cs
- PathFigureCollection.cs
- QuaternionRotation3D.cs
- DataControlField.cs
- Token.cs
- UserPreferenceChangedEventArgs.cs
- ConfigUtil.cs
- XsdDataContractImporter.cs
- QueryOperator.cs
- QueryResults.cs
- LoginCancelEventArgs.cs
- MediaContext.cs
- OdbcEnvironment.cs
- Cursor.cs
- cryptoapiTransform.cs
- QuaternionRotation3D.cs
- PeerContact.cs
- Marshal.cs
- BindingMemberInfo.cs
- MethodAccessException.cs
- Stroke.cs
- XpsS0ValidatingLoader.cs
- WebZoneDesigner.cs
- StateMachineSubscription.cs
- SerializationInfo.cs
- GAC.cs
- MergablePropertyAttribute.cs
- ExceptionUtility.cs
- RoleGroup.cs
- CompilationUnit.cs
- DataRowCollection.cs
- PageAsyncTaskManager.cs
- InitializationEventAttribute.cs
- FileChangesMonitor.cs
- ObjectTag.cs
- Size.cs
- Attributes.cs
- PTManager.cs
- Evidence.cs
- FixedPosition.cs
- StreamReader.cs
- CompiledIdentityConstraint.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- _UriSyntax.cs
- ToolStripDesignerAvailabilityAttribute.cs
- EdmRelationshipRoleAttribute.cs
- HttpWebRequest.cs
- TrustManager.cs
- HtmlSelect.cs
- DataGridToolTip.cs
- AdornerHitTestResult.cs
- ClearTypeHintValidation.cs
- UICuesEvent.cs
- DataControlPagerLinkButton.cs
- GPPOINTF.cs
- JulianCalendar.cs
- FileSystemInfo.cs
- XmlNode.cs