Code:
/ 4.0 / 4.0 / 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.
//------------------------------------------------------------------------------
//
// 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
- BitmapImage.cs
- SynchronizedKeyedCollection.cs
- EntityContainerEntitySet.cs
- ValuePatternIdentifiers.cs
- BuildManager.cs
- ReturnType.cs
- SqlClientPermission.cs
- AppDomainProtocolHandler.cs
- SocketPermission.cs
- BaseDataBoundControl.cs
- PersonalizationProviderHelper.cs
- ComPlusContractBehavior.cs
- ValidateNames.cs
- SqlDataSourceQueryEditorForm.cs
- TextSelectionHighlightLayer.cs
- IsolatedStoragePermission.cs
- ProcessModelSection.cs
- OdbcCommandBuilder.cs
- ServicesUtilities.cs
- documentsequencetextpointer.cs
- HtmlLinkAdapter.cs
- FrameSecurityDescriptor.cs
- ZipIOLocalFileBlock.cs
- VectorAnimationBase.cs
- ControlIdConverter.cs
- RadioButton.cs
- TypeDelegator.cs
- GridErrorDlg.cs
- RoleServiceManager.cs
- TextElementEnumerator.cs
- AddingNewEventArgs.cs
- XmlnsPrefixAttribute.cs
- DataGridTable.cs
- ConnectionDemuxer.cs
- ToolStripDropDownMenu.cs
- NonVisualControlAttribute.cs
- BindableTemplateBuilder.cs
- OutputCacheSettings.cs
- ApplicationFileParser.cs
- User.cs
- TreeNode.cs
- TypeDescriptionProvider.cs
- TextWriterEngine.cs
- SqlDataSourceStatusEventArgs.cs
- SafeMemoryMappedFileHandle.cs
- Stack.cs
- CertificateManager.cs
- BinaryReader.cs
- DetailsViewRow.cs
- TerminatorSinks.cs
- Matrix3D.cs
- XmlSchemaElement.cs
- ReflectionPermission.cs
- EntityClientCacheKey.cs
- handlecollector.cs
- _TLSstream.cs
- CreateUserErrorEventArgs.cs
- RelationshipType.cs
- HttpException.cs
- InputScopeManager.cs
- EventPrivateKey.cs
- PerfCounters.cs
- OutputCacheSection.cs
- TextServicesCompartmentContext.cs
- IPipelineRuntime.cs
- NullableLongSumAggregationOperator.cs
- RoleExceptions.cs
- COM2ExtendedUITypeEditor.cs
- Point3DAnimationBase.cs
- Convert.cs
- SwitchElementsCollection.cs
- SecurityHeaderElementInferenceEngine.cs
- UmAlQuraCalendar.cs
- BamlRecordHelper.cs
- WindowInteropHelper.cs
- MouseGesture.cs
- IdnMapping.cs
- Style.cs
- ViewCellSlot.cs
- HttpApplicationStateBase.cs
- KeyBinding.cs
- XmlSchemaInferenceException.cs
- NegatedCellConstant.cs
- ParsedAttributeCollection.cs
- ProviderConnectionPoint.cs
- FileChangesMonitor.cs
- FontClient.cs
- ProviderConnectionPointCollection.cs
- UnauthorizedWebPart.cs
- FilterableAttribute.cs
- DataGridViewIntLinkedList.cs
- ConnectionManagementSection.cs
- FragmentQueryProcessor.cs
- MergablePropertyAttribute.cs
- IsolatedStorageFileStream.cs
- MatchingStyle.cs
- XmlSchemaObjectTable.cs
- MulticastNotSupportedException.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- BaseTemplateParser.cs