Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 2 / 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
- SiteIdentityPermission.cs
- TextContainerChangedEventArgs.cs
- PartialToken.cs
- DesignerSerializationVisibilityAttribute.cs
- DataControlImageButton.cs
- DataGridViewCellStateChangedEventArgs.cs
- X509ChainPolicy.cs
- CoordinationService.cs
- SettingsPropertyWrongTypeException.cs
- Viewport2DVisual3D.cs
- DistinctQueryOperator.cs
- ContextMenuStripGroupCollection.cs
- altserialization.cs
- RootProfilePropertySettingsCollection.cs
- MailBnfHelper.cs
- GeneralTransform.cs
- TextServicesCompartmentEventSink.cs
- DuplexChannelBinder.cs
- MainMenu.cs
- BamlBinaryWriter.cs
- NetworkCredential.cs
- DefaultClaimSet.cs
- TypedTableGenerator.cs
- TcpProcessProtocolHandler.cs
- MsmqBindingBase.cs
- LineSegment.cs
- StrongNameKeyPair.cs
- ErrorStyle.cs
- SemanticAnalyzer.cs
- FileSecurity.cs
- ExtensionSimplifierMarkupObject.cs
- DataGridViewTextBoxColumn.cs
- SharedStatics.cs
- TypeContext.cs
- EventProviderWriter.cs
- UserInitiatedRoutedEventPermission.cs
- RayHitTestParameters.cs
- webclient.cs
- DataMemberAttribute.cs
- AutomationFocusChangedEventArgs.cs
- ProtocolsConfigurationHandler.cs
- TdsParserStaticMethods.cs
- DbXmlEnabledProviderManifest.cs
- FileFormatException.cs
- AttributeParameterInfo.cs
- AddressAlreadyInUseException.cs
- IdentifierCreationService.cs
- MimeTypePropertyAttribute.cs
- LocatorBase.cs
- MobileSysDescriptionAttribute.cs
- CodeDirectionExpression.cs
- unitconverter.cs
- XmlDataImplementation.cs
- Cursor.cs
- DelayedRegex.cs
- DrawingContextDrawingContextWalker.cs
- TypeCodeDomSerializer.cs
- HelpOperationInvoker.cs
- DataControlImageButton.cs
- EntitySqlQueryBuilder.cs
- IdentityModelStringsVersion1.cs
- TransformPattern.cs
- MutexSecurity.cs
- SchemaElementLookUpTable.cs
- ProtocolViolationException.cs
- HttpListenerResponse.cs
- DocumentViewerHelper.cs
- SemanticAnalyzer.cs
- ActivationArguments.cs
- UserPreferenceChangedEventArgs.cs
- ChildrenQuery.cs
- QualifierSet.cs
- DataGridViewCellStateChangedEventArgs.cs
- RoutedEventConverter.cs
- DesignerListAdapter.cs
- AccessedThroughPropertyAttribute.cs
- XmlValidatingReaderImpl.cs
- ListViewItemEventArgs.cs
- ReservationCollection.cs
- PeerCustomResolverBindingElement.cs
- RadioButtonRenderer.cs
- MobilePage.cs
- ClientSettings.cs
- ClientSession.cs
- ISFClipboardData.cs
- PriorityQueue.cs
- MetadataSource.cs
- DispatcherOperation.cs
- AbstractSvcMapFileLoader.cs
- InvariantComparer.cs
- AssemblyNameProxy.cs
- TraceLevelStore.cs
- InvalidOperationException.cs
- PerformanceCountersElement.cs
- InternalRelationshipCollection.cs
- SqlNodeAnnotation.cs
- ComPlusDiagnosticTraceRecords.cs
- SynchronizedRandom.cs
- SqlProcedureAttribute.cs
- ThicknessKeyFrameCollection.cs