Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / HelpInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * HelpInfo.cs * * Revision History: * * 09/04/02 [....] * Created it. * \**************************************************************************/ 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CapabilitiesState.cs
- PolicyValidationException.cs
- IndexedSelectQueryOperator.cs
- WaitHandleCannotBeOpenedException.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SynchronizedDispatch.cs
- SoapFault.cs
- RadioButtonRenderer.cs
- MimeTypeMapper.cs
- TableItemPatternIdentifiers.cs
- StateMachineAction.cs
- DesignerDataColumn.cs
- ObjectManager.cs
- InfoCardTrace.cs
- CapabilitiesState.cs
- TemplatedWizardStep.cs
- MetadataCollection.cs
- TraceSwitch.cs
- WebPartZoneCollection.cs
- ApplicationBuildProvider.cs
- DesigntimeLicenseContextSerializer.cs
- ListControl.cs
- GuidConverter.cs
- ObjectSecurityT.cs
- PasswordRecoveryDesigner.cs
- Shape.cs
- DependencyProperty.cs
- FontFamilyIdentifier.cs
- SelectionList.cs
- wgx_commands.cs
- Message.cs
- WizardForm.cs
- LocalizationParserHooks.cs
- RankException.cs
- TextDataBindingHandler.cs
- WindowsComboBox.cs
- IResourceProvider.cs
- DebugView.cs
- LocalizableAttribute.cs
- CombinedTcpChannel.cs
- PageAdapter.cs
- ZipIOModeEnforcingStream.cs
- DmlSqlGenerator.cs
- SafeNativeMethods.cs
- WebDisplayNameAttribute.cs
- ActiveXContainer.cs
- CodeTypeReferenceCollection.cs
- URLIdentityPermission.cs
- DES.cs
- UriTemplateTrieLocation.cs
- FileEnumerator.cs
- TreeView.cs
- GeometryDrawing.cs
- HostedImpersonationContext.cs
- SignatureHelper.cs
- FormsAuthenticationEventArgs.cs
- XmlDataLoader.cs
- Wizard.cs
- ZipIOModeEnforcingStream.cs
- DesignerFrame.cs
- NetworkInformationException.cs
- InternalConfigHost.cs
- HttpFileCollectionBase.cs
- GradientBrush.cs
- ParseChildrenAsPropertiesAttribute.cs
- IPHostEntry.cs
- Parallel.cs
- ChangeNode.cs
- SoapCodeExporter.cs
- FontClient.cs
- ClientApiGenerator.cs
- SpeechSeg.cs
- SpeechRecognitionEngine.cs
- ApplicationSettingsBase.cs
- PropertyConverter.cs
- UpdateExpressionVisitor.cs
- LineVisual.cs
- Clock.cs
- Int64Storage.cs
- StrongNameIdentityPermission.cs
- DataGridViewImageColumn.cs
- ComponentRenameEvent.cs
- ExtenderProvidedPropertyAttribute.cs
- MSHTMLHostUtil.cs
- Invariant.cs
- SystemTcpStatistics.cs
- XsltSettings.cs
- OutputBuffer.cs
- AutomationFocusChangedEventArgs.cs
- DataColumnMappingCollection.cs
- SelectiveScrollingGrid.cs
- WebConfigurationHost.cs
- HttpListenerContext.cs
- DoubleKeyFrameCollection.cs
- LinearQuaternionKeyFrame.cs
- FileInfo.cs
- HyperLinkColumn.cs
- BoundField.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- BaseCodePageEncoding.cs