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
- TypeUsage.cs
- ListViewItem.cs
- XmlNamespaceMappingCollection.cs
- Filter.cs
- ToolBar.cs
- StringOutput.cs
- DateTimePickerDesigner.cs
- XPathEmptyIterator.cs
- SmtpNtlmAuthenticationModule.cs
- WebPartCollection.cs
- TextProperties.cs
- DeferredSelectedIndexReference.cs
- DocumentReference.cs
- JournalEntry.cs
- XmlSchemaSimpleContentRestriction.cs
- DataRowView.cs
- DataColumnMapping.cs
- Attributes.cs
- GridViewCommandEventArgs.cs
- ChildTable.cs
- PanelStyle.cs
- CacheModeConverter.cs
- ToolStripItemTextRenderEventArgs.cs
- InvalidComObjectException.cs
- ComPlusThreadInitializer.cs
- WpfXamlType.cs
- KeyManager.cs
- HtmlInputButton.cs
- SelectedCellsChangedEventArgs.cs
- EntityDataSourceEntityTypeFilterItem.cs
- HttpServerUtilityWrapper.cs
- TextEditorDragDrop.cs
- DocumentsTrace.cs
- ChannelSinkStacks.cs
- FormParameter.cs
- ScriptReference.cs
- Int64Storage.cs
- InputMethodStateTypeInfo.cs
- ThaiBuddhistCalendar.cs
- DataServiceQueryException.cs
- MetabaseServerConfig.cs
- CssClassPropertyAttribute.cs
- SerializerProvider.cs
- ISessionStateStore.cs
- StagingAreaInputItem.cs
- XmlSerializationWriter.cs
- Monitor.cs
- SecurityUtils.cs
- XmlSchemaIdentityConstraint.cs
- DictationGrammar.cs
- UnsafePeerToPeerMethods.cs
- DataGridViewCheckBoxColumn.cs
- AsynchronousChannelMergeEnumerator.cs
- PagedDataSource.cs
- Variant.cs
- EpmContentSerializer.cs
- MessageQueuePermissionAttribute.cs
- InterleavedZipPartStream.cs
- _BaseOverlappedAsyncResult.cs
- ResourceFallbackManager.cs
- UnmanagedMemoryStream.cs
- SQLDecimal.cs
- Brushes.cs
- SafeMILHandle.cs
- CodeStatementCollection.cs
- TextDocumentView.cs
- IdentityReference.cs
- DataGridViewCellCollection.cs
- LookupBindingPropertiesAttribute.cs
- WindowsIPAddress.cs
- WebHttpBehavior.cs
- _ProxyRegBlob.cs
- Char.cs
- Brush.cs
- ModuleElement.cs
- FixedFlowMap.cs
- Native.cs
- BinaryParser.cs
- WebAdminConfigurationHelper.cs
- EntityDataSourceContextCreatedEventArgs.cs
- CodeParameterDeclarationExpression.cs
- AnnotationService.cs
- Literal.cs
- EventToken.cs
- Publisher.cs
- SQLUtility.cs
- WebUtility.cs
- GlyphsSerializer.cs
- FormViewInsertEventArgs.cs
- AppDomain.cs
- DesignerCategoryAttribute.cs
- AttributedMetaModel.cs
- CallTemplateAction.cs
- PassportAuthenticationModule.cs
- RootDesignerSerializerAttribute.cs
- ProcessInfo.cs
- CaseExpr.cs
- EFAssociationProvider.cs
- _HeaderInfoTable.cs
- StreamGeometryContext.cs