Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1305376 / 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
- controlskin.cs
- mediaeventshelper.cs
- InteropTrackingRecord.cs
- CaseInsensitiveOrdinalStringComparer.cs
- XmlQualifiedNameTest.cs
- SaveFileDialog.cs
- FixedDSBuilder.cs
- LayoutEngine.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ExpandCollapsePattern.cs
- DbgCompiler.cs
- XmlWrappingWriter.cs
- AliasedSlot.cs
- ServicePoint.cs
- GregorianCalendar.cs
- BaseDataBoundControl.cs
- HttpCacheVaryByContentEncodings.cs
- XslTransform.cs
- IteratorDescriptor.cs
- FlowSwitchDesigner.xaml.cs
- SqlServices.cs
- CollectionContainer.cs
- WinInet.cs
- LinqDataSourceContextData.cs
- MouseButtonEventArgs.cs
- ValidationResult.cs
- BitVector32.cs
- ColorConverter.cs
- InvalidOperationException.cs
- CompilerError.cs
- RSAOAEPKeyExchangeFormatter.cs
- DataGridHeaderBorder.cs
- ErrorInfoXmlDocument.cs
- XmlC14NWriter.cs
- UriParserTemplates.cs
- WebServiceResponseDesigner.cs
- XmlParserContext.cs
- ActivityMarkupSerializer.cs
- Soap.cs
- ProcessHostConfigUtils.cs
- EntityConnectionStringBuilderItem.cs
- FunctionImportMapping.cs
- RuleSettings.cs
- CharacterBufferReference.cs
- ModelUIElement3D.cs
- SqlDataSourceView.cs
- NotifyIcon.cs
- ServiceReflector.cs
- SqlDataSourceCommandEventArgs.cs
- IxmlLineInfo.cs
- PixelShader.cs
- WindowHideOrCloseTracker.cs
- DtrList.cs
- Helpers.cs
- SerializationStore.cs
- GridLengthConverter.cs
- FilterQuery.cs
- CompoundFileStreamReference.cs
- XmlDownloadManager.cs
- SafeFileMapViewHandle.cs
- ZoneLinkButton.cs
- LayoutTable.cs
- AtomMaterializerLog.cs
- CompilationUnit.cs
- PrintDialog.cs
- MemoryFailPoint.cs
- SelectionProviderWrapper.cs
- CancellationHandlerDesigner.cs
- NamedPermissionSet.cs
- DPCustomTypeDescriptor.cs
- KeysConverter.cs
- SymbolType.cs
- RowToFieldTransformer.cs
- HttpServerVarsCollection.cs
- SessionStateSection.cs
- InnerItemCollectionView.cs
- TypeBuilder.cs
- DefaultValueTypeConverter.cs
- CodeDomSerializer.cs
- PageStatePersister.cs
- ContextProperty.cs
- WorkflowDesignerMessageFilter.cs
- MonikerUtility.cs
- ThemeableAttribute.cs
- CompletedAsyncResult.cs
- DataGridViewCellEventArgs.cs
- ToggleProviderWrapper.cs
- InternalConfigSettingsFactory.cs
- BuildTopDownAttribute.cs
- xmlformatgeneratorstatics.cs
- XmlSchemaChoice.cs
- DataGridViewDataConnection.cs
- SortAction.cs
- DataBoundControlAdapter.cs
- GatewayDefinition.cs
- CustomActivityDesigner.cs
- HostedNamedPipeTransportManager.cs
- SocketAddress.cs
- WindowsAuthenticationEventArgs.cs
- XmlDataCollection.cs