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
- SerTrace.cs
- GeometryCollection.cs
- SmiContext.cs
- TextRunCacheImp.cs
- TreeNodeStyleCollection.cs
- ExpandSegmentCollection.cs
- CharStorage.cs
- XmlSchemaParticle.cs
- LineSegment.cs
- ExtenderProvidedPropertyAttribute.cs
- DataGridTableCollection.cs
- UnauthorizedAccessException.cs
- XmlSchemaValidationException.cs
- MediaPlayer.cs
- ListItemCollection.cs
- TableHeaderCell.cs
- DefinitionBase.cs
- DataListItem.cs
- StylusPointCollection.cs
- PassportAuthenticationModule.cs
- WindowsToolbarItemAsMenuItem.cs
- KeyedPriorityQueue.cs
- NoPersistScope.cs
- PresentationTraceSources.cs
- FindRequestContext.cs
- PixelShader.cs
- ContentControl.cs
- Stacktrace.cs
- M3DUtil.cs
- SqlProcedureAttribute.cs
- PointKeyFrameCollection.cs
- CapabilitiesPattern.cs
- BrowserCapabilitiesFactoryBase.cs
- Maps.cs
- MenuBase.cs
- NetTcpSection.cs
- RawAppCommandInputReport.cs
- ParameterModifier.cs
- XmlException.cs
- BmpBitmapEncoder.cs
- XPathSelfQuery.cs
- UIElementParaClient.cs
- FontUnit.cs
- ValidationResult.cs
- Rotation3D.cs
- DragCompletedEventArgs.cs
- CatalogZoneBase.cs
- PersonalizableAttribute.cs
- SafePEFileHandle.cs
- _CommandStream.cs
- BasicAsyncResult.cs
- ShaperBuffers.cs
- TransformerInfo.cs
- TablePattern.cs
- ExpandSegment.cs
- LogWriteRestartAreaState.cs
- NetworkStream.cs
- DriveNotFoundException.cs
- SchemaCollectionCompiler.cs
- AssertFilter.cs
- CheckBoxList.cs
- Run.cs
- RadialGradientBrush.cs
- PrintPageEvent.cs
- KeyEvent.cs
- SettingsPropertyWrongTypeException.cs
- HierarchicalDataBoundControlAdapter.cs
- Timeline.cs
- IisTraceListener.cs
- BufferModeSettings.cs
- AsyncOperationManager.cs
- Run.cs
- ServiceEndpointAssociationProvider.cs
- ExtensibleClassFactory.cs
- ThreadExceptionEvent.cs
- SystemEvents.cs
- ILGen.cs
- ErrorWebPart.cs
- MobileContainerDesigner.cs
- QueryRelOp.cs
- CryptoConfig.cs
- BinaryFormatterWriter.cs
- SyndicationElementExtension.cs
- ObjectDataSourceMethodEditor.cs
- RightsManagementPermission.cs
- BrowserPolicyValidator.cs
- OracleNumber.cs
- TextShapeableCharacters.cs
- DictionaryEntry.cs
- Transform3DCollection.cs
- StateMachineDesignerPaint.cs
- SelectionService.cs
- Pens.cs
- PeerDuplexChannel.cs
- ActivityWithResultConverter.cs
- StoreAnnotationsMap.cs
- SetUserLanguageRequest.cs
- SingleKeyFrameCollection.cs
- DbProviderFactoriesConfigurationHandler.cs
- ControlAdapter.cs