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
- MobileControlPersister.cs
- UriTemplateClientFormatter.cs
- CriticalFinalizerObject.cs
- smtpconnection.cs
- ReflectionTypeLoadException.cs
- Application.cs
- Selector.cs
- DataListItem.cs
- NumberAction.cs
- RolePrincipal.cs
- HostedTransportConfigurationManager.cs
- FormatterConverter.cs
- ElapsedEventArgs.cs
- ReadOnlyObservableCollection.cs
- ConstraintStruct.cs
- HierarchicalDataSourceIDConverter.cs
- ListChangedEventArgs.cs
- HttpsHostedTransportConfiguration.cs
- X509RawDataKeyIdentifierClause.cs
- SourceChangedEventArgs.cs
- PageThemeParser.cs
- SharedHttpsTransportManager.cs
- SiteMapNodeItemEventArgs.cs
- BinaryObjectWriter.cs
- ComponentDispatcherThread.cs
- InspectionWorker.cs
- SmtpReplyReaderFactory.cs
- ReaderWriterLock.cs
- DebugHandleTracker.cs
- BinHexDecoder.cs
- EncoderBestFitFallback.cs
- RegionInfo.cs
- StringSource.cs
- HostingEnvironmentException.cs
- SystemResourceKey.cs
- OperationAbortedException.cs
- FtpCachePolicyElement.cs
- XDRSchema.cs
- DirectoryInfo.cs
- CustomSignedXml.cs
- SqlClientFactory.cs
- XslUrlEditor.cs
- RegexCompilationInfo.cs
- OleDbEnumerator.cs
- XmlC14NWriter.cs
- PropertyGrid.cs
- SoapSchemaExporter.cs
- HttpModuleCollection.cs
- StylusButtonEventArgs.cs
- SqlTransaction.cs
- WsdlImporter.cs
- RSACryptoServiceProvider.cs
- PlaceHolder.cs
- Parameter.cs
- DocobjHost.cs
- RewritingSimplifier.cs
- SmiGettersStream.cs
- UrlMappingsModule.cs
- Timer.cs
- XmlEnumAttribute.cs
- TextEncodedRawTextWriter.cs
- UIElementCollection.cs
- IisTraceWebEventProvider.cs
- VerifyHashRequest.cs
- CryptoKeySecurity.cs
- ObjectDataSourceView.cs
- XappLauncher.cs
- SqlMethods.cs
- GlyphRunDrawing.cs
- WindowsServiceElement.cs
- COAUTHINFO.cs
- ControlCollection.cs
- HttpCacheVary.cs
- IntegerValidator.cs
- DbProviderFactories.cs
- BuildProvider.cs
- AuthorizationContext.cs
- DiscoveryMessageSequenceCD1.cs
- HwndSubclass.cs
- XomlCompilerParameters.cs
- ExtensionFile.cs
- SQLSingleStorage.cs
- PointConverter.cs
- WCFModelStrings.Designer.cs
- HeaderPanel.cs
- GeometryCollection.cs
- ResourceDefaultValueAttribute.cs
- PeerName.cs
- AssemblyNameProxy.cs
- PropertyEmitterBase.cs
- WpfSharedXamlSchemaContext.cs
- Attachment.cs
- SoapIncludeAttribute.cs
- FixedPosition.cs
- SqlWebEventProvider.cs
- EntityDataSourceMemberPath.cs
- FileDialogCustomPlace.cs
- BodyGlyph.cs
- StorageBasedPackageProperties.cs
- FieldAccessException.cs