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
- CultureMapper.cs
- FontFamilyIdentifier.cs
- SmtpTransport.cs
- AutomationPattern.cs
- AutoSizeComboBox.cs
- ControlTemplate.cs
- _ConnectionGroup.cs
- StylusPointDescription.cs
- Dictionary.cs
- SHA512.cs
- OdbcConnectionFactory.cs
- AccessViolationException.cs
- InvalidTimeZoneException.cs
- PackagePart.cs
- Line.cs
- PartialCachingAttribute.cs
- WebPartCatalogCloseVerb.cs
- InputReportEventArgs.cs
- documentsequencetextview.cs
- DictionaryItemsCollection.cs
- OLEDB_Util.cs
- NameValueConfigurationElement.cs
- TextModifier.cs
- BookmarkUndoUnit.cs
- FixedSOMPage.cs
- HTMLTagNameToTypeMapper.cs
- TextReader.cs
- FreezableCollection.cs
- ToolStripContentPanel.cs
- WebPartEventArgs.cs
- CellTreeSimplifier.cs
- NetCodeGroup.cs
- CharAnimationUsingKeyFrames.cs
- GeneratedContractType.cs
- FormView.cs
- LockCookie.cs
- DecimalAnimationUsingKeyFrames.cs
- TabControlCancelEvent.cs
- SyndicationFeed.cs
- ActivityBuilderHelper.cs
- SocketPermission.cs
- URLMembershipCondition.cs
- RenderOptions.cs
- EditCommandColumn.cs
- MemoryPressure.cs
- CompiledAction.cs
- AbstractDataSvcMapFileLoader.cs
- ButtonChrome.cs
- TraceLog.cs
- CryptographicAttribute.cs
- BehaviorService.cs
- BinaryReader.cs
- UserPersonalizationStateInfo.cs
- UnionCodeGroup.cs
- selecteditemcollection.cs
- PnrpPermission.cs
- TextControl.cs
- WorkflowInstanceExtensionProvider.cs
- Span.cs
- LOSFormatter.cs
- ControlType.cs
- CategoryNameCollection.cs
- DependencyPropertyConverter.cs
- DataGridViewSortCompareEventArgs.cs
- DataGridViewColumnCollection.cs
- CalendarDateChangedEventArgs.cs
- CodeSnippetTypeMember.cs
- CheckBoxFlatAdapter.cs
- EventTrigger.cs
- sqlmetadatafactory.cs
- ContentDisposition.cs
- HtmlMeta.cs
- ContentPosition.cs
- MultiPropertyDescriptorGridEntry.cs
- graph.cs
- IImplicitResourceProvider.cs
- Listen.cs
- MatrixConverter.cs
- XmlQueryOutput.cs
- WebPartEventArgs.cs
- AccessViolationException.cs
- basevalidator.cs
- XmlCollation.cs
- TabControlEvent.cs
- SimpleApplicationHost.cs
- EnvelopedPkcs7.cs
- MatrixUtil.cs
- ColumnBinding.cs
- FormViewInsertedEventArgs.cs
- MaterializeFromAtom.cs
- BezierSegment.cs
- ISCIIEncoding.cs
- DocumentsTrace.cs
- BamlResourceSerializer.cs
- GeometryDrawing.cs
- RefreshPropertiesAttribute.cs
- CurrencyWrapper.cs
- EdmRelationshipRoleAttribute.cs
- PageHandlerFactory.cs
- WrappedIUnknown.cs