Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 1305376 / 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
- SqlCacheDependencyDatabase.cs
- EFTableProvider.cs
- WeakReference.cs
- CodeTypeConstructor.cs
- TextEffectResolver.cs
- BamlMapTable.cs
- ViewCellSlot.cs
- StreamResourceInfo.cs
- TextChange.cs
- DataBoundLiteralControl.cs
- SafeHandles.cs
- FixedStringLookup.cs
- DNS.cs
- DesignerUtility.cs
- SortedList.cs
- HtmlTernaryTree.cs
- EncoderFallback.cs
- ParameterBuilder.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- TabletDevice.cs
- CallbackValidatorAttribute.cs
- TextBox.cs
- FragmentQueryKB.cs
- RegistryKey.cs
- StyleBamlTreeBuilder.cs
- ProtocolViolationException.cs
- SqlDataSourceCommandEventArgs.cs
- AssemblyResourceLoader.cs
- SafeWaitHandle.cs
- GroupBoxDesigner.cs
- Menu.cs
- DataBinder.cs
- Tile.cs
- WorkerProcess.cs
- ThreadInterruptedException.cs
- TextRange.cs
- recordstatescratchpad.cs
- AuthenticatingEventArgs.cs
- CornerRadiusConverter.cs
- PageBuildProvider.cs
- TcpHostedTransportConfiguration.cs
- DataGridViewCellStyleEditor.cs
- Camera.cs
- ByteAnimationUsingKeyFrames.cs
- SkewTransform.cs
- AmbientProperties.cs
- RTLAwareMessageBox.cs
- DispatcherHooks.cs
- Baml2006KnownTypes.cs
- EmptyStringExpandableObjectConverter.cs
- MessageQueuePermission.cs
- UIPermission.cs
- RayHitTestParameters.cs
- StreamResourceInfo.cs
- Choices.cs
- UnmanagedBitmapWrapper.cs
- OleAutBinder.cs
- exports.cs
- PolyQuadraticBezierSegment.cs
- MethodInfo.cs
- SecurityCriticalDataForSet.cs
- UpdateProgress.cs
- BamlVersionHeader.cs
- DecimalConverter.cs
- QueryExtender.cs
- SettingsProviderCollection.cs
- ErrorStyle.cs
- HashHelpers.cs
- TextProviderWrapper.cs
- BitStack.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- pingexception.cs
- StateMachineSubscriptionManager.cs
- ListViewEditEventArgs.cs
- HScrollProperties.cs
- HttpListener.cs
- WindowsIPAddress.cs
- UnsafeNativeMethods.cs
- MeshGeometry3D.cs
- TreeNodeClickEventArgs.cs
- BindingWorker.cs
- TimeIntervalCollection.cs
- XmlNodeChangedEventManager.cs
- WindowsGraphicsWrapper.cs
- DataGridCell.cs
- PointF.cs
- NotificationContext.cs
- WbemException.cs
- ExpressionConverter.cs
- newitemfactory.cs
- Char.cs
- DateBoldEvent.cs
- ColorBuilder.cs
- DeviceContext2.cs
- AdornerPresentationContext.cs
- CodeIndexerExpression.cs
- TrustLevelCollection.cs
- RequestUriProcessor.cs
- SspiNegotiationTokenProvider.cs
- EdmProviderManifest.cs