Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1305376 / HelpInfo.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WmlPanelAdapter.cs
- WrapperSecurityCommunicationObject.cs
- RoutedEventValueSerializer.cs
- ExpressionConverter.cs
- StorageScalarPropertyMapping.cs
- PackageStore.cs
- ThreadStateException.cs
- IPAddress.cs
- Int32Rect.cs
- ADMembershipProvider.cs
- NonSerializedAttribute.cs
- Message.cs
- DocumentApplicationJournalEntry.cs
- PixelFormats.cs
- PermissionToken.cs
- TransformConverter.cs
- NamespaceTable.cs
- SessionStateContainer.cs
- CollectionsUtil.cs
- GridView.cs
- PersonalizationState.cs
- DataAdapter.cs
- VisualTreeUtils.cs
- RequestTimeoutManager.cs
- CommandValueSerializer.cs
- ZipFileInfoCollection.cs
- SequenceQuery.cs
- DynamicDataRouteHandler.cs
- RoutedEventArgs.cs
- BuildManager.cs
- Cell.cs
- ViewgenGatekeeper.cs
- OLEDB_Util.cs
- ProcessHost.cs
- DataControlFieldHeaderCell.cs
- GeometryModel3D.cs
- FormViewPagerRow.cs
- ApplicationSecurityInfo.cs
- ResXFileRef.cs
- TextBoxRenderer.cs
- FontWeightConverter.cs
- BoundsDrawingContextWalker.cs
- NCryptSafeHandles.cs
- NotImplementedException.cs
- EventData.cs
- FactoryGenerator.cs
- WindowsListViewGroup.cs
- DataServiceExpressionVisitor.cs
- SelectionBorderGlyph.cs
- EncoderBestFitFallback.cs
- AssemblyCollection.cs
- arclist.cs
- Pen.cs
- RayMeshGeometry3DHitTestResult.cs
- XmlHierarchicalEnumerable.cs
- SmiContext.cs
- XamlReaderHelper.cs
- ExclusiveHandle.cs
- COM2IDispatchConverter.cs
- RadialGradientBrush.cs
- RectAnimationClockResource.cs
- XmlHierarchicalEnumerable.cs
- Documentation.cs
- XmlSchemaSimpleTypeUnion.cs
- Message.cs
- SystemMulticastIPAddressInformation.cs
- OracleTimeSpan.cs
- __Filters.cs
- DataSet.cs
- EdmSchemaAttribute.cs
- FileDialog.cs
- SqlMultiplexer.cs
- SessionState.cs
- IndexedString.cs
- InstanceCompleteException.cs
- ConnectionStringsExpressionBuilder.cs
- HttpHeaderCollection.cs
- SmtpLoginAuthenticationModule.cs
- CodePageUtils.cs
- Control.cs
- GridViewActionList.cs
- WebPartZoneBase.cs
- Stylus.cs
- ExpressionLink.cs
- AspCompat.cs
- RevocationPoint.cs
- RootBrowserWindowAutomationPeer.cs
- Bind.cs
- ExtensionQuery.cs
- TableCell.cs
- SqlProvider.cs
- MaskDescriptor.cs
- PropertyTabChangedEvent.cs
- DataGridViewEditingControlShowingEventArgs.cs
- QuaternionKeyFrameCollection.cs
- Subtree.cs
- XamlFilter.cs
- XmlLanguageConverter.cs
- WindowsClaimSet.cs
- SimplePropertyEntry.cs