Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- __TransparentProxy.cs
- ListViewTableRow.cs
- DocumentEventArgs.cs
- GeometryHitTestParameters.cs
- Facet.cs
- XmlCustomFormatter.cs
- LinqDataView.cs
- Root.cs
- ObjectAnimationBase.cs
- SchemaCollectionCompiler.cs
- HierarchicalDataBoundControlAdapter.cs
- FunctionQuery.cs
- LabelDesigner.cs
- BitmapEffectInputData.cs
- MailMessageEventArgs.cs
- OpCopier.cs
- MetabaseServerConfig.cs
- OrderedDictionaryStateHelper.cs
- PeerTransportSecurityElement.cs
- ReturnValue.cs
- ConfigXmlAttribute.cs
- BooleanFunctions.cs
- xsdvalidator.cs
- PenCursorManager.cs
- EncoderNLS.cs
- documentsequencetextview.cs
- SwitchLevelAttribute.cs
- TypedElement.cs
- ByteStream.cs
- Int32EqualityComparer.cs
- SafeEventLogReadHandle.cs
- HelpInfo.cs
- MediaContextNotificationWindow.cs
- DurableServiceAttribute.cs
- ParserStreamGeometryContext.cs
- SettingsPropertyCollection.cs
- DataGridViewUtilities.cs
- WebBrowserHelper.cs
- DataGridViewBindingCompleteEventArgs.cs
- CustomCategoryAttribute.cs
- DesignerAttribute.cs
- MultiByteCodec.cs
- CalloutQueueItem.cs
- MemberBinding.cs
- AppSecurityManager.cs
- Freezable.cs
- BaseUriHelper.cs
- ToolboxSnapDragDropEventArgs.cs
- UpDownBase.cs
- StartUpEventArgs.cs
- LinearGradientBrush.cs
- ConnectionsZoneDesigner.cs
- DataServices.cs
- SQLBinaryStorage.cs
- AnnotationComponentManager.cs
- SqlStream.cs
- RunWorkerCompletedEventArgs.cs
- RowBinding.cs
- TransformPattern.cs
- XmlValueConverter.cs
- DropTarget.cs
- Comparer.cs
- FormattedTextSymbols.cs
- DnsElement.cs
- GeneralTransform3DTo2D.cs
- NamedPipeTransportElement.cs
- ExtensionFile.cs
- ServiceManager.cs
- MdiWindowListItemConverter.cs
- DiscoveryClientProtocol.cs
- SafeNativeMethodsCLR.cs
- PersistenceProviderDirectory.cs
- SecurityManager.cs
- HwndSourceKeyboardInputSite.cs
- MulticastDelegate.cs
- Point3DCollection.cs
- MetafileEditor.cs
- Light.cs
- DataGridLinkButton.cs
- DataSourceBooleanViewSchemaConverter.cs
- ToolboxItemFilterAttribute.cs
- ObjectDataSource.cs
- SortableBindingList.cs
- ApplicationInfo.cs
- CalendarDateChangedEventArgs.cs
- IDReferencePropertyAttribute.cs
- AnnotationHelper.cs
- StreamingContext.cs
- Transform.cs
- OpCopier.cs
- WsrmMessageInfo.cs
- DirectionalAction.cs
- SeparatorAutomationPeer.cs
- ResourceCategoryAttribute.cs
- EntityDataSourceQueryBuilder.cs
- X509CertificateCollection.cs
- SpeechEvent.cs
- InkCanvasInnerCanvas.cs
- GridErrorDlg.cs
- UnsignedPublishLicense.cs