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
- BrowserDefinition.cs
- NavigatingCancelEventArgs.cs
- ToolTip.cs
- DataListItemEventArgs.cs
- MarkupProperty.cs
- EventLogger.cs
- AccessedThroughPropertyAttribute.cs
- XmlHierarchyData.cs
- Pointer.cs
- BinaryReader.cs
- MemberRelationshipService.cs
- precedingsibling.cs
- PEFileReader.cs
- CreateRefExpr.cs
- ConfigXmlAttribute.cs
- PlainXmlSerializer.cs
- WmlFormAdapter.cs
- UserNameSecurityTokenAuthenticator.cs
- XmlSchemaProviderAttribute.cs
- DbUpdateCommandTree.cs
- Int64.cs
- mactripleDES.cs
- AttributeSetAction.cs
- DataGridViewImageColumn.cs
- DbFunctionCommandTree.cs
- DbFunctionCommandTree.cs
- SharedUtils.cs
- CachedRequestParams.cs
- XPathPatternBuilder.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ApplicationGesture.cs
- XmlMessageFormatter.cs
- PopupRoot.cs
- WindowHideOrCloseTracker.cs
- DispatcherObject.cs
- DateTimePicker.cs
- ZipFileInfo.cs
- MenuItemStyleCollection.cs
- XmlRootAttribute.cs
- AssemblyBuilder.cs
- FileDataSource.cs
- LambdaCompiler.Statements.cs
- Event.cs
- ServiceNameElementCollection.cs
- AppliesToBehaviorDecisionTable.cs
- CompoundFileStreamReference.cs
- Int64Animation.cs
- DataSet.cs
- DataGridItemCollection.cs
- DocumentOrderQuery.cs
- XhtmlTextWriter.cs
- AsnEncodedData.cs
- String.cs
- TimelineCollection.cs
- RegexCompilationInfo.cs
- TabControlAutomationPeer.cs
- CqlWriter.cs
- HttpChannelBindingToken.cs
- MetadataUtil.cs
- MailMessage.cs
- RedistVersionInfo.cs
- GrammarBuilderBase.cs
- UnrecognizedPolicyAssertionElement.cs
- ChildDocumentBlock.cs
- XmlSerializerVersionAttribute.cs
- DBSqlParser.cs
- CodeDelegateCreateExpression.cs
- CLSCompliantAttribute.cs
- XmlChildEnumerator.cs
- ProgressiveCrcCalculatingStream.cs
- WorkflowApplicationAbortedEventArgs.cs
- ParsedAttributeCollection.cs
- ServiceControllerDesigner.cs
- VectorAnimationBase.cs
- ReachDocumentSequenceSerializerAsync.cs
- WebPartAuthorizationEventArgs.cs
- wgx_sdk_version.cs
- ChannelToken.cs
- RegexCompilationInfo.cs
- TypedTableHandler.cs
- Verify.cs
- HttpModule.cs
- DecimalConverter.cs
- TreeNode.cs
- FirstMatchCodeGroup.cs
- ConfigurationSectionHelper.cs
- RegularExpressionValidator.cs
- IndicShape.cs
- ConstraintEnumerator.cs
- XmlSchemaSubstitutionGroup.cs
- XmlnsDictionary.cs
- AmbiguousMatchException.cs
- TransformPattern.cs
- UnionCodeGroup.cs
- Component.cs
- Queue.cs
- IUnknownConstantAttribute.cs
- SafeEventLogReadHandle.cs
- IntegerValidator.cs
- BehaviorService.cs