Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1 / 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
- TrackingMemoryStream.cs
- InternalDispatchObject.cs
- DataGridItemEventArgs.cs
- IndexedGlyphRun.cs
- DataSvcMapFile.cs
- SendActivityDesignerTheme.cs
- XsltConvert.cs
- Tuple.cs
- DesignerOptionService.cs
- VariantWrapper.cs
- ConnectionStringsExpressionBuilder.cs
- DrawingCollection.cs
- Variant.cs
- Util.cs
- SplashScreenNativeMethods.cs
- CredentialCache.cs
- DataRowView.cs
- StringSource.cs
- HighlightVisual.cs
- OutputScopeManager.cs
- ReliableInputConnection.cs
- IdlingCommunicationPool.cs
- CompositeActivityTypeDescriptorProvider.cs
- CodeAssignStatement.cs
- ScrollChangedEventArgs.cs
- BasicExpandProvider.cs
- CLSCompliantAttribute.cs
- WebContentFormatHelper.cs
- PointCollection.cs
- ProgressChangedEventArgs.cs
- XmlCustomFormatter.cs
- ScalarType.cs
- GrammarBuilderWildcard.cs
- SymLanguageType.cs
- CharConverter.cs
- EncodingTable.cs
- ColumnPropertiesGroup.cs
- Int32AnimationUsingKeyFrames.cs
- CryptoApi.cs
- MetabaseServerConfig.cs
- AsyncCompletedEventArgs.cs
- DynamicQueryStringParameter.cs
- Assembly.cs
- RoleService.cs
- DllNotFoundException.cs
- AsymmetricSignatureDeformatter.cs
- CreateUserErrorEventArgs.cs
- AttributeCollection.cs
- InheritedPropertyChangedEventArgs.cs
- WindowsFormsHelpers.cs
- MessageSmuggler.cs
- EntityCommandExecutionException.cs
- DataViewManagerListItemTypeDescriptor.cs
- LinqDataSourceInsertEventArgs.cs
- StateMachine.cs
- CollectionType.cs
- TextElementCollection.cs
- QilExpression.cs
- ToolStripItemGlyph.cs
- ControlCodeDomSerializer.cs
- SaveFileDialog.cs
- SQLConvert.cs
- DataGridPagingPage.cs
- TextContainer.cs
- Html32TextWriter.cs
- OleDbError.cs
- GeneralTransformCollection.cs
- SafeCoTaskMem.cs
- SimpleExpression.cs
- StringSorter.cs
- SolidColorBrush.cs
- HighlightComponent.cs
- BamlBinaryReader.cs
- ListBoxItemWrapperAutomationPeer.cs
- RegexNode.cs
- PermissionSetTriple.cs
- TableRow.cs
- GeometryGroup.cs
- ThreadStartException.cs
- SBCSCodePageEncoding.cs
- DocumentApplicationJournalEntry.cs
- HostingEnvironmentWrapper.cs
- Int32CollectionConverter.cs
- TextRunCacheImp.cs
- BasicExpandProvider.cs
- OperationResponse.cs
- CodeDOMUtility.cs
- EarlyBoundInfo.cs
- IChannel.cs
- XmlAggregates.cs
- XamlSerializerUtil.cs
- Positioning.cs
- webbrowsersite.cs
- HandleExceptionArgs.cs
- StrokeSerializer.cs
- DefaultValueConverter.cs
- PngBitmapEncoder.cs
- ResumeStoryboard.cs
- CorePropertiesFilter.cs
- EmptyEnumerable.cs