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
- IisTraceListener.cs
- SqlDataSourceCommandEventArgs.cs
- FixedSOMTextRun.cs
- PropertyChangingEventArgs.cs
- Container.cs
- ListenDesigner.cs
- RtfControls.cs
- SystemResources.cs
- ReadOnlyCollectionBase.cs
- HierarchicalDataSourceIDConverter.cs
- PieceDirectory.cs
- AlternateViewCollection.cs
- ServerIdentity.cs
- HTTPNotFoundHandler.cs
- RbTree.cs
- UriScheme.cs
- Splitter.cs
- ContainerControl.cs
- UrlAuthFailedErrorFormatter.cs
- StringSorter.cs
- OutputCacheSettings.cs
- DebugHandleTracker.cs
- DispatchChannelSink.cs
- ReadOnlyNameValueCollection.cs
- SoapIncludeAttribute.cs
- FormatterConverter.cs
- RuntimeTrackingProfile.cs
- ActivityWithResultValueSerializer.cs
- EventHandlersStore.cs
- HtmlTableCell.cs
- GridViewSortEventArgs.cs
- StaticResourceExtension.cs
- Keywords.cs
- SqlDataReaderSmi.cs
- CustomWebEventKey.cs
- XmlHelper.cs
- ContractCodeDomInfo.cs
- UIPermission.cs
- ExportOptions.cs
- DataGridColumn.cs
- XmlILIndex.cs
- UnsafeNativeMethods.cs
- TableAutomationPeer.cs
- DbParameterCollection.cs
- ElementHostAutomationPeer.cs
- HttpException.cs
- PassportAuthenticationModule.cs
- WebPart.cs
- DataTable.cs
- CompoundFileStreamReference.cs
- MDIClient.cs
- TripleDESCryptoServiceProvider.cs
- ThemeableAttribute.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- wgx_sdk_version.cs
- DataGridRowDetailsEventArgs.cs
- BadImageFormatException.cs
- FilterException.cs
- BidOverLoads.cs
- XmlSerializerSection.cs
- MessageVersionConverter.cs
- ReflectionUtil.cs
- ResourcePermissionBaseEntry.cs
- GregorianCalendar.cs
- FormsAuthenticationEventArgs.cs
- EventLog.cs
- XmlArrayItemAttribute.cs
- RadioButton.cs
- HwndStylusInputProvider.cs
- EdmSchemaError.cs
- MeasurementDCInfo.cs
- InkCanvasSelectionAdorner.cs
- SaveFileDialogDesigner.cs
- HtmlDocument.cs
- OleDbParameterCollection.cs
- ArgumentsParser.cs
- TailPinnedEventArgs.cs
- CoreSwitches.cs
- BitmapInitialize.cs
- ToolStripDropDownClosingEventArgs.cs
- QilBinary.cs
- HyperLink.cs
- DesigntimeLicenseContextSerializer.cs
- SqlMethodCallConverter.cs
- ScriptRegistrationManager.cs
- CodeDirectiveCollection.cs
- HttpModule.cs
- MsmqInputMessage.cs
- XmlNodeReader.cs
- SettingsBindableAttribute.cs
- MessageBox.cs
- Tracking.cs
- HelpProvider.cs
- FirstMatchCodeGroup.cs
- EventMemberCodeDomSerializer.cs
- WorkflowDesigner.cs
- SelectorAutomationPeer.cs
- PackagingUtilities.cs
- BasicKeyConstraint.cs
- ProcessThreadCollection.cs