Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / 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
- GACMembershipCondition.cs
- MenuItemStyle.cs
- DataGridPageChangedEventArgs.cs
- LinkButton.cs
- DurableOperationContext.cs
- RubberbandSelector.cs
- UrlPropertyAttribute.cs
- SecurityException.cs
- GrammarBuilderBase.cs
- TextRangeProviderWrapper.cs
- RemotingConfigParser.cs
- MemberAssignment.cs
- BStrWrapper.cs
- SqlWebEventProvider.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- XamlClipboardData.cs
- FreezableCollection.cs
- JsonSerializer.cs
- ButtonFlatAdapter.cs
- KeyGestureConverter.cs
- SymmetricAlgorithm.cs
- HttpPostServerProtocol.cs
- InstallerTypeAttribute.cs
- CharEnumerator.cs
- ObfuscationAttribute.cs
- CodeExpressionStatement.cs
- SuppressIldasmAttribute.cs
- TranslateTransform.cs
- IPCCacheManager.cs
- ByteViewer.cs
- XmlSchemaSimpleContentExtension.cs
- DataGridHeaderBorder.cs
- RootBuilder.cs
- OdbcConnectionPoolProviderInfo.cs
- SpeechDetectedEventArgs.cs
- CompositeCollection.cs
- mil_commands.cs
- TextEndOfSegment.cs
- ActivityPreviewDesigner.cs
- WorkItem.cs
- FilterableAttribute.cs
- FormViewAutoFormat.cs
- SecurityState.cs
- DeviceSpecific.cs
- ApplicationSecurityManager.cs
- DataGridTableStyleMappingNameEditor.cs
- ModifierKeysValueSerializer.cs
- HwndKeyboardInputProvider.cs
- LoadedOrUnloadedOperation.cs
- RightsManagementEncryptionTransform.cs
- GridViewSortEventArgs.cs
- ToolboxItemFilterAttribute.cs
- WindowAutomationPeer.cs
- CopyOfAction.cs
- DataGridViewHeaderCell.cs
- PeerObject.cs
- ConfigurationValue.cs
- XPathDocumentNavigator.cs
- ControlIdConverter.cs
- TextBoxRenderer.cs
- elementinformation.cs
- DataServiceEntityAttribute.cs
- LinqDataSourceUpdateEventArgs.cs
- SingleSelectRootGridEntry.cs
- DataRowChangeEvent.cs
- BindingContext.cs
- WindowsHyperlink.cs
- KeyBinding.cs
- SystemWebSectionGroup.cs
- Compensate.cs
- ImmutableClientRuntime.cs
- Types.cs
- StylusPointProperty.cs
- ItemCollection.cs
- ClonableStack.cs
- ChangePasswordDesigner.cs
- SortedList.cs
- DeviceFilterDictionary.cs
- InputLanguageSource.cs
- ProcessModule.cs
- GlobalizationAssembly.cs
- StaticTextPointer.cs
- ChannelBuilder.cs
- WmfPlaceableFileHeader.cs
- TextEffect.cs
- DateTimeConstantAttribute.cs
- PublishLicense.cs
- DiscoveryReferences.cs
- MachineKeySection.cs
- smtppermission.cs
- CompressionTransform.cs
- HttpException.cs
- BorderGapMaskConverter.cs
- ProcessStartInfo.cs
- XmlSchemaInferenceException.cs
- DetailsView.cs
- ImageAttributes.cs
- shaperfactoryquerycachekey.cs
- DBDataPermissionAttribute.cs
- WindowHideOrCloseTracker.cs