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
- MailWriter.cs
- ColorConvertedBitmapExtension.cs
- EmbeddedMailObject.cs
- MachineKeyConverter.cs
- DiscoveryDocument.cs
- WeakHashtable.cs
- PieceDirectory.cs
- DrawListViewSubItemEventArgs.cs
- PropertyDescriptorCollection.cs
- WindowsBrush.cs
- MSAANativeProvider.cs
- TypeLibConverter.cs
- TextCollapsingProperties.cs
- FlowDocumentView.cs
- FrugalMap.cs
- Registry.cs
- XmlNodeWriter.cs
- ContractNamespaceAttribute.cs
- LostFocusEventManager.cs
- TrackPointCollection.cs
- Converter.cs
- HtmlGenericControl.cs
- ReferenceEqualityComparer.cs
- TextEffectResolver.cs
- TdsParserHelperClasses.cs
- FirewallWrapper.cs
- ArithmeticException.cs
- TextProviderWrapper.cs
- DragSelectionMessageFilter.cs
- FixedDocumentPaginator.cs
- PagerSettings.cs
- DataServiceClientException.cs
- AdornerPresentationContext.cs
- AuthenticatingEventArgs.cs
- _BaseOverlappedAsyncResult.cs
- PersonalizationStateInfoCollection.cs
- WindowsToolbar.cs
- UpdateTracker.cs
- XhtmlBasicFormAdapter.cs
- FunctionMappingTranslator.cs
- ParsedRoute.cs
- ReferencedCollectionType.cs
- SrgsNameValueTag.cs
- DataKeyArray.cs
- XhtmlTextWriter.cs
- EmbeddedMailObjectsCollection.cs
- DataKeyPropertyAttribute.cs
- RedistVersionInfo.cs
- SoapAttributeOverrides.cs
- CompiledXpathExpr.cs
- _SafeNetHandles.cs
- TabItem.cs
- ElementNotAvailableException.cs
- TreeSet.cs
- System.Data_BID.cs
- MessageBox.cs
- ReferentialConstraintRoleElement.cs
- ClientSettingsProvider.cs
- newitemfactory.cs
- OdbcUtils.cs
- ToolStripDropDownClosingEventArgs.cs
- LOSFormatter.cs
- BackgroundFormatInfo.cs
- XmlSecureResolver.cs
- _NestedSingleAsyncResult.cs
- UserControl.cs
- WorkflowInvoker.cs
- ChangePassword.cs
- ServiceDescription.cs
- BindableAttribute.cs
- NamedElement.cs
- PageCatalogPart.cs
- SAPIEngineTypes.cs
- FormsAuthenticationEventArgs.cs
- DecimalAnimationBase.cs
- TripleDES.cs
- RegistrySecurity.cs
- OSEnvironmentHelper.cs
- DynamicControlParameter.cs
- Part.cs
- EdmError.cs
- AuthenticationManager.cs
- ManifestResourceInfo.cs
- FtpRequestCacheValidator.cs
- ColumnCollection.cs
- FocusTracker.cs
- Update.cs
- ContentAlignmentEditor.cs
- DynamicDiscoveryDocument.cs
- TemplatePropertyEntry.cs
- MouseDevice.cs
- IIS7WorkerRequest.cs
- TokenBasedSetEnumerator.cs
- ConfigWriter.cs
- WindowsAuthenticationEventArgs.cs
- EdmToObjectNamespaceMap.cs
- Constraint.cs
- ApplicationServiceManager.cs
- AnimationException.cs
- UnsafeNativeMethodsCLR.cs