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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ELinqQueryState.cs
- TextRunProperties.cs
- CircleHotSpot.cs
- ObjectStateEntry.cs
- ObjectHandle.cs
- ExpressionNode.cs
- XmlArrayItemAttribute.cs
- LinqToSqlWrapper.cs
- PerformanceCounterNameAttribute.cs
- CheckBoxBaseAdapter.cs
- KeyedHashAlgorithm.cs
- RadioButton.cs
- ImageAttributes.cs
- NaturalLanguageHyphenator.cs
- SchemaNamespaceManager.cs
- FileVersionInfo.cs
- InvalidFilterCriteriaException.cs
- AnnotationResourceChangedEventArgs.cs
- Decimal.cs
- ReservationNotFoundException.cs
- ChildTable.cs
- QuerySelectOp.cs
- BlockUIContainer.cs
- TreeView.cs
- UIElement3DAutomationPeer.cs
- HitTestParameters3D.cs
- DbDataAdapter.cs
- RegexRunner.cs
- BaseDataBoundControl.cs
- CollectionBuilder.cs
- EtwTrace.cs
- NativeMethods.cs
- ServiceSecurityAuditBehavior.cs
- FirstMatchCodeGroup.cs
- Metadata.cs
- SettingsPropertyIsReadOnlyException.cs
- ReflectPropertyDescriptor.cs
- ServiceEndpointAssociationProvider.cs
- ObjectQuery_EntitySqlExtensions.cs
- ShaderEffect.cs
- TableItemStyle.cs
- GridViewColumn.cs
- FigureHelper.cs
- UnsafeNativeMethods.cs
- ObjectDataSourceMethodEventArgs.cs
- Util.cs
- Section.cs
- DescendantBaseQuery.cs
- recordstatescratchpad.cs
- HtmlTernaryTree.cs
- RadioButtonAutomationPeer.cs
- DataGridViewAccessibleObject.cs
- LockedActivityGlyph.cs
- PersonalizationProviderCollection.cs
- UserControlCodeDomTreeGenerator.cs
- X509Chain.cs
- BamlRecords.cs
- XmlSerializerFactory.cs
- TextDocumentView.cs
- WinEventTracker.cs
- DataGridViewCellStateChangedEventArgs.cs
- ModulesEntry.cs
- ChangeTracker.cs
- PaintEvent.cs
- NamespaceQuery.cs
- DigitShape.cs
- SymLanguageType.cs
- MetadataArtifactLoaderComposite.cs
- MarkedHighlightComponent.cs
- PenThreadPool.cs
- ExtensionSimplifierMarkupObject.cs
- CSharpCodeProvider.cs
- WorkingDirectoryEditor.cs
- DiagnosticEventProvider.cs
- ItemList.cs
- brushes.cs
- DocumentGridContextMenu.cs
- WebBaseEventKeyComparer.cs
- ThreadBehavior.cs
- Vector3DCollectionConverter.cs
- EntityTypeEmitter.cs
- FontNamesConverter.cs
- LineServices.cs
- Vector3DCollection.cs
- MobileControlPersister.cs
- NativeMethods.cs
- FtpCachePolicyElement.cs
- TextTreeDeleteContentUndoUnit.cs
- MenuAutomationPeer.cs
- ConditionalExpression.cs
- InstancePersistenceCommandException.cs
- CreateUserWizard.cs
- ActiveXContainer.cs
- ContourSegment.cs
- CallContext.cs
- UnsafeNativeMethods.cs
- Rect3DValueSerializer.cs
- SqlError.cs
- RuntimeHelpers.cs