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
- RegexFCD.cs
- ToolStripTextBox.cs
- DefaultShape.cs
- SemaphoreSecurity.cs
- ACL.cs
- InvokeBinder.cs
- CodeEventReferenceExpression.cs
- ConsoleCancelEventArgs.cs
- GeometryHitTestResult.cs
- QuaternionAnimationBase.cs
- TextRangeBase.cs
- ClientType.cs
- safex509handles.cs
- MappingItemCollection.cs
- TransformerInfoCollection.cs
- BinaryObjectReader.cs
- MoveSizeWinEventHandler.cs
- EventlogProvider.cs
- QilVisitor.cs
- WebPartMinimizeVerb.cs
- DataGridViewColumnConverter.cs
- MemberAccessException.cs
- XmlDomTextWriter.cs
- columnmapkeybuilder.cs
- StrokeIntersection.cs
- BuildResult.cs
- ProcessManager.cs
- ZipIOModeEnforcingStream.cs
- DataGridViewImageCell.cs
- KnownBoxes.cs
- SafeHGlobalHandleCritical.cs
- storepermission.cs
- ExceptionHelpers.cs
- SchemaCompiler.cs
- HtmlShimManager.cs
- Application.cs
- CaseExpr.cs
- InvalidPrinterException.cs
- PropertyDescriptorGridEntry.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DBCommandBuilder.cs
- BoolExpressionVisitors.cs
- CallContext.cs
- AssociationTypeEmitter.cs
- Int32Storage.cs
- PasswordTextContainer.cs
- DataGridHeaderBorder.cs
- OdbcConnectionHandle.cs
- MessageOperationFormatter.cs
- SchemaNamespaceManager.cs
- SR.cs
- XmlSerializerAssemblyAttribute.cs
- HttpDebugHandler.cs
- rsa.cs
- PngBitmapEncoder.cs
- EntityDataReader.cs
- DesignerCalendarAdapter.cs
- CrossSiteScriptingValidation.cs
- NullableDoubleSumAggregationOperator.cs
- ChannelServices.cs
- TextViewSelectionProcessor.cs
- MulticastDelegate.cs
- Util.cs
- DBParameter.cs
- DataGridViewDataErrorEventArgs.cs
- SqlException.cs
- DoubleLinkListEnumerator.cs
- RightsManagementEncryptionTransform.cs
- Hashtable.cs
- CultureSpecificStringDictionary.cs
- DrawListViewColumnHeaderEventArgs.cs
- ToolStripPanelRenderEventArgs.cs
- RotateTransform.cs
- GatewayDefinition.cs
- ComponentResourceManager.cs
- String.cs
- DynamicILGenerator.cs
- FixedTextView.cs
- RankException.cs
- future.cs
- SymmetricKeyWrap.cs
- StorageEntityContainerMapping.cs
- SchemaCollectionPreprocessor.cs
- VectorKeyFrameCollection.cs
- QilLiteral.cs
- FilteredDataSetHelper.cs
- StringResourceManager.cs
- DataTableExtensions.cs
- ModuleBuilderData.cs
- TokenizerHelper.cs
- ExpandCollapsePattern.cs
- PathNode.cs
- WhitespaceRuleReader.cs
- XmlSerializerVersionAttribute.cs
- PropertyDescriptor.cs
- EncryptedData.cs
- TimersDescriptionAttribute.cs
- XmlDocument.cs
- Add.cs
- Journal.cs