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
- SHA1Cng.cs
- UnsafeNativeMethods.cs
- ToolStripGripRenderEventArgs.cs
- WindowsTooltip.cs
- XmlObjectSerializerReadContextComplex.cs
- XmlDataSource.cs
- FillErrorEventArgs.cs
- DelegateHelpers.cs
- XmlEntityReference.cs
- TemplateField.cs
- CompilerState.cs
- LiteralControl.cs
- _AuthenticationState.cs
- Object.cs
- FragmentNavigationEventArgs.cs
- KeyBinding.cs
- ControllableStoryboardAction.cs
- BoundField.cs
- SafeNativeMethods.cs
- updateconfighost.cs
- InputProcessorProfiles.cs
- arabicshape.cs
- KeyPressEvent.cs
- DbConnectionPoolIdentity.cs
- CompilerErrorCollection.cs
- SplitContainer.cs
- RoleService.cs
- WebPartDisplayModeCollection.cs
- CacheEntry.cs
- Number.cs
- ReflectionTypeLoadException.cs
- CellNormalizer.cs
- DesignerValidatorAdapter.cs
- MdiWindowListItemConverter.cs
- MSG.cs
- SafeSystemMetrics.cs
- ServiceHostingEnvironment.cs
- GeometryHitTestParameters.cs
- LogicalExpr.cs
- BinHexDecoder.cs
- ExpandCollapseProviderWrapper.cs
- MultipartContentParser.cs
- TreeViewBindingsEditorForm.cs
- ApplicationServicesHostFactory.cs
- InheritanceUI.cs
- EnvelopedPkcs7.cs
- ComponentChangingEvent.cs
- QilReference.cs
- SqlConnection.cs
- PagesSection.cs
- CompiledRegexRunnerFactory.cs
- StringReader.cs
- WindowsListBox.cs
- AsyncResult.cs
- XPathDocumentIterator.cs
- DataGridViewRowCancelEventArgs.cs
- ApplicationGesture.cs
- TextEffect.cs
- DecimalKeyFrameCollection.cs
- altserialization.cs
- SharedStream.cs
- DbConnectionClosed.cs
- HtmlImage.cs
- TypeListConverter.cs
- DataIdProcessor.cs
- OracleDataReader.cs
- NestedContainer.cs
- ProfileGroupSettings.cs
- SetStoryboardSpeedRatio.cs
- HostingEnvironmentSection.cs
- BindingBase.cs
- XamlParser.cs
- HttpChannelHelpers.cs
- DefaultTextStore.cs
- DirectoryInfo.cs
- StandardRuntimeEnumValidator.cs
- HtmlTable.cs
- ConstraintEnumerator.cs
- VisualTreeHelper.cs
- ResourcePool.cs
- clipboard.cs
- RenderOptions.cs
- BaseProcessor.cs
- InvalidEnumArgumentException.cs
- TypeUsageBuilder.cs
- DataListCommandEventArgs.cs
- RtfToXamlLexer.cs
- LogicalExpressionTypeConverter.cs
- AuthenticatingEventArgs.cs
- TypeNameConverter.cs
- SecurityTokenInclusionMode.cs
- SelectedDatesCollection.cs
- CodeDOMUtility.cs
- ListComponentEditorPage.cs
- BinaryWriter.cs
- UrlMappingsSection.cs
- ComplexTypeEmitter.cs
- TextComposition.cs
- RightsManagementEncryptedStream.cs
- DesignTimeTemplateParser.cs