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
- SmtpException.cs
- SkinBuilder.cs
- ConnectionPoint.cs
- ResXResourceWriter.cs
- OdbcHandle.cs
- PointCollection.cs
- IssuanceLicense.cs
- LockedAssemblyCache.cs
- MaskedTextProvider.cs
- UInt64Converter.cs
- XmlBinaryWriter.cs
- ObjectCloneHelper.cs
- Operators.cs
- OutputChannel.cs
- ScrollItemPatternIdentifiers.cs
- RequestNavigateEventArgs.cs
- _CookieModule.cs
- GridEntry.cs
- BinaryMessageEncodingBindingElement.cs
- WebServiceMethodData.cs
- FileAuthorizationModule.cs
- ToolBar.cs
- ListItemCollection.cs
- DataSvcMapFileSerializer.cs
- RecipientInfo.cs
- SharedConnectionInfo.cs
- FixedTextSelectionProcessor.cs
- RegexCapture.cs
- ContainerParaClient.cs
- UrlAuthorizationModule.cs
- Crc32Helper.cs
- SkinBuilder.cs
- ArrayElementGridEntry.cs
- TransferRequestHandler.cs
- InvalidOperationException.cs
- PropertyDescriptor.cs
- SharedStatics.cs
- DispatchChannelSink.cs
- SystemDiagnosticsSection.cs
- DockPanel.cs
- SqlNode.cs
- Helper.cs
- CompilerInfo.cs
- ReflectTypeDescriptionProvider.cs
- ServiceModelPerformanceCounters.cs
- CommandLibraryHelper.cs
- BitmapFrame.cs
- DesignerToolboxInfo.cs
- PartialTrustValidationBehavior.cs
- FrameworkTemplate.cs
- WebMessageEncoderFactory.cs
- ButtonRenderer.cs
- StringCollection.cs
- Attributes.cs
- CodeGeneratorOptions.cs
- EditorPartCollection.cs
- StubHelpers.cs
- XmlCodeExporter.cs
- XmlExpressionDumper.cs
- BitmapDownload.cs
- Barrier.cs
- DataRowView.cs
- FileSystemWatcher.cs
- XmlAttributes.cs
- BehaviorEditorPart.cs
- DataPagerFieldItem.cs
- TypeHelpers.cs
- TableLayoutStyleCollection.cs
- MouseDevice.cs
- QuaternionAnimation.cs
- NameScope.cs
- WebHostScriptMappingsInstallComponent.cs
- KeyedPriorityQueue.cs
- TableStyle.cs
- Win32Interop.cs
- TemplateComponentConnector.cs
- TextEncodedRawTextWriter.cs
- MdiWindowListItemConverter.cs
- NopReturnReader.cs
- ResourceDefaultValueAttribute.cs
- TaiwanLunisolarCalendar.cs
- ToolStripContentPanelRenderEventArgs.cs
- EntityParameterCollection.cs
- SmtpClient.cs
- TreeViewImageKeyConverter.cs
- EntityDataSourceDataSelection.cs
- ViewCellSlot.cs
- Operator.cs
- EditCommandColumn.cs
- EntitySetBaseCollection.cs
- RelatedEnd.cs
- GridViewSelectEventArgs.cs
- FixedHighlight.cs
- MessageDecoder.cs
- MetafileHeaderWmf.cs
- SoapObjectReader.cs
- remotingproxy.cs
- Propagator.cs
- MembershipValidatePasswordEventArgs.cs
- XmlTextWriter.cs