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
- ModelItemDictionary.cs
- WmpBitmapEncoder.cs
- ActivityCodeDomSerializer.cs
- CaseInsensitiveHashCodeProvider.cs
- PageScaling.cs
- ThreadExceptionEvent.cs
- MeshGeometry3D.cs
- SqlDataSourceStatusEventArgs.cs
- basecomparevalidator.cs
- Animatable.cs
- KeyManager.cs
- WindowsGraphics2.cs
- WebPartEditorCancelVerb.cs
- BindingNavigator.cs
- ConfigurationSettings.cs
- Decimal.cs
- SoapMessage.cs
- SystemDropShadowChrome.cs
- CodeMemberProperty.cs
- SID.cs
- _OSSOCK.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- SamlSubject.cs
- OutputCacheSection.cs
- ActiveXMessageFormatter.cs
- Decimal.cs
- HMAC.cs
- BindingElementCollection.cs
- PropertyToken.cs
- JobInputBins.cs
- SoapObjectReader.cs
- CompressionTransform.cs
- SafePipeHandle.cs
- DbMetaDataFactory.cs
- DesignOnlyAttribute.cs
- ReadOnlyMetadataCollection.cs
- WorkflowOwnerAsyncResult.cs
- UrlParameterWriter.cs
- SqlConnectionString.cs
- DescriptionAttribute.cs
- ClaimTypeElement.cs
- XmlDeclaration.cs
- Utility.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- MenuItemCollection.cs
- RegularExpressionValidator.cs
- EntityDesignerBuildProvider.cs
- PageAsyncTaskManager.cs
- ExecutionEngineException.cs
- OpCodes.cs
- SBCSCodePageEncoding.cs
- PresentationAppDomainManager.cs
- TypeSource.cs
- HtmlInputPassword.cs
- _ProxyChain.cs
- AbstractSvcMapFileLoader.cs
- CharacterMetrics.cs
- HandledEventArgs.cs
- AutomationElementIdentifiers.cs
- CanExecuteRoutedEventArgs.cs
- GridLengthConverter.cs
- FontStretch.cs
- LeaseManager.cs
- DataRecordInternal.cs
- SqlRowUpdatedEvent.cs
- KnownIds.cs
- SqlDataSourceEnumerator.cs
- CorrelationManager.cs
- ScrollProperties.cs
- DataSourceControlBuilder.cs
- FocusChangedEventArgs.cs
- CriticalFinalizerObject.cs
- TeredoHelper.cs
- IntSecurity.cs
- ResourceReferenceExpression.cs
- SqlDesignerDataSourceView.cs
- PropertyEmitterBase.cs
- FamilyTypeface.cs
- Html32TextWriter.cs
- GridPattern.cs
- AssemblyBuilderData.cs
- AttributeData.cs
- LicenseProviderAttribute.cs
- DefaultProfileManager.cs
- ItemCheckedEvent.cs
- Grant.cs
- DataGridViewComponentPropertyGridSite.cs
- DataBoundControl.cs
- ObjectListCommandsPage.cs
- FileNotFoundException.cs
- PlaceHolder.cs
- XmlSchemaGroupRef.cs
- DoubleLinkList.cs
- PowerStatus.cs
- basemetadatamappingvisitor.cs
- LassoSelectionBehavior.cs
- ViewStateException.cs
- PathTooLongException.cs
- SchemaConstraints.cs
- InputBinder.cs