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
- HttpEncoder.cs
- WorkflowExecutor.cs
- FocusTracker.cs
- UpdateTranslator.cs
- FillErrorEventArgs.cs
- ToolTipService.cs
- GeneralTransform2DTo3DTo2D.cs
- Process.cs
- SqlConnectionStringBuilder.cs
- DataGridParentRows.cs
- HtmlToClrEventProxy.cs
- QueryInterceptorAttribute.cs
- Accessible.cs
- CatalogZoneBase.cs
- HttpWebRequest.cs
- ResourceCategoryAttribute.cs
- MarshalDirectiveException.cs
- PerspectiveCamera.cs
- TcpServerChannel.cs
- SchemaName.cs
- PrinterUnitConvert.cs
- XmlException.cs
- AttributeUsageAttribute.cs
- DebugView.cs
- _ListenerAsyncResult.cs
- BitmapPalette.cs
- TypedRowHandler.cs
- PolyLineSegment.cs
- WindowsGraphicsCacheManager.cs
- FileDetails.cs
- base64Transforms.cs
- SrgsText.cs
- GeometryCombineModeValidation.cs
- TreeNodeCollection.cs
- DataServiceResponse.cs
- HttpClientCredentialType.cs
- StaticSiteMapProvider.cs
- RankException.cs
- RuntimeHelpers.cs
- SoapSchemaMember.cs
- BindToObject.cs
- Wizard.cs
- EntityDataSource.cs
- base64Transforms.cs
- PointConverter.cs
- Accessible.cs
- ModifiableIteratorCollection.cs
- FamilyMap.cs
- ConnectionManagementSection.cs
- GeneratedView.cs
- NumberFunctions.cs
- DomainUpDown.cs
- SQLResource.cs
- PathGeometry.cs
- PerformanceCounterLib.cs
- InstanceDataCollection.cs
- EmptyCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- TableLayoutSettings.cs
- XmlSchemaSimpleContentRestriction.cs
- AvTrace.cs
- ConfigXmlWhitespace.cs
- FillBehavior.cs
- ChannelSinkStacks.cs
- MetadataItem.cs
- DataGridViewComboBoxColumn.cs
- NameNode.cs
- DataViewSetting.cs
- SystemIPInterfaceStatistics.cs
- ImageFormat.cs
- WindowsRichEditRange.cs
- CellPartitioner.cs
- PhysicalAddress.cs
- SqlProvider.cs
- CacheDependency.cs
- EqualityComparer.cs
- RequiredFieldValidator.cs
- FlowDocumentView.cs
- ComboBoxItem.cs
- HostProtectionPermission.cs
- FamilyMapCollection.cs
- XPathItem.cs
- Baml2006KeyRecord.cs
- VirtualDirectoryMapping.cs
- MetabaseSettings.cs
- InvalidFilterCriteriaException.cs
- ByteStream.cs
- InstanceContextManager.cs
- FrameworkContentElement.cs
- Math.cs
- MustUnderstandSoapException.cs
- DataGridItem.cs
- _ProxyRegBlob.cs
- EntityReference.cs
- PersonalizableTypeEntry.cs
- EasingKeyFrames.cs
- FlowDocumentFormatter.cs
- Typeface.cs
- HttpCookiesSection.cs
- ColumnHeaderConverter.cs