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
- SqlAliaser.cs
- SessionEndedEventArgs.cs
- DateBoldEvent.cs
- TabItem.cs
- StylusTip.cs
- Rotation3DAnimation.cs
- DependencyProperty.cs
- TemplatedAdorner.cs
- UInt64Converter.cs
- formatter.cs
- MD5HashHelper.cs
- ForEachAction.cs
- WorkflowWebHostingModule.cs
- SplineKeyFrames.cs
- LoginCancelEventArgs.cs
- SchemaNotation.cs
- SoapBinding.cs
- RealProxy.cs
- Helpers.cs
- _NativeSSPI.cs
- TextureBrush.cs
- RoleGroup.cs
- DataGridViewToolTip.cs
- StylusPointPropertyInfoDefaults.cs
- PropertyBuilder.cs
- Rectangle.cs
- QueryRewriter.cs
- VideoDrawing.cs
- EnumBuilder.cs
- HtmlTableRowCollection.cs
- ChameleonKey.cs
- DbProviderConfigurationHandler.cs
- XmlSchemaSimpleTypeUnion.cs
- Container.cs
- _OverlappedAsyncResult.cs
- GlyphCache.cs
- XPathBuilder.cs
- StatusBarPanelClickEvent.cs
- SoapConverter.cs
- TransportContext.cs
- ActivationArguments.cs
- TripleDES.cs
- EasingFunctionBase.cs
- AddInProcess.cs
- ByeOperation11AsyncResult.cs
- CatalogZone.cs
- DataService.cs
- AudioStateChangedEventArgs.cs
- FileLevelControlBuilderAttribute.cs
- SmiMetaDataProperty.cs
- ExtensionQuery.cs
- CodeConstructor.cs
- FileIOPermission.cs
- DataGridViewElement.cs
- SiteMapNode.cs
- TreeNodeMouseHoverEvent.cs
- URLIdentityPermission.cs
- GridItem.cs
- RequestResizeEvent.cs
- AsyncResult.cs
- KeyToListMap.cs
- ChtmlTextBoxAdapter.cs
- DropTarget.cs
- MenuItem.cs
- HideDisabledControlAdapter.cs
- ZipFileInfo.cs
- TranslateTransform.cs
- ContainerUtilities.cs
- DbConnectionStringCommon.cs
- OLEDB_Util.cs
- ProxyWebPartManager.cs
- RolePrincipal.cs
- TextSpanModifier.cs
- HttpModuleCollection.cs
- UInt64Converter.cs
- ObjectResult.cs
- ToolStripRendererSwitcher.cs
- FactoryMaker.cs
- OdbcConnectionFactory.cs
- SessionEndingEventArgs.cs
- StringUtil.cs
- FragmentQueryProcessor.cs
- TrackBarRenderer.cs
- CharacterMetricsDictionary.cs
- CopyOnWriteList.cs
- AsymmetricSignatureFormatter.cs
- PlatformCulture.cs
- RMPublishingDialog.cs
- GcSettings.cs
- ValueProviderWrapper.cs
- SafeProcessHandle.cs
- BindingValueChangedEventArgs.cs
- DataBoundControlAdapter.cs
- BufferedWebEventProvider.cs
- MetabaseServerConfig.cs
- TypedTableBase.cs
- QueryAsyncResult.cs
- QilSortKey.cs
- ToolboxItemFilterAttribute.cs
- Rfc2898DeriveBytes.cs