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
- HtmlTableCell.cs
- LoginUtil.cs
- EntitySqlException.cs
- DataList.cs
- NodeLabelEditEvent.cs
- GridViewHeaderRowPresenter.cs
- MimeParameterWriter.cs
- OptionUsage.cs
- ItemCollectionEditor.cs
- RSAProtectedConfigurationProvider.cs
- GeneratedContractType.cs
- CodeVariableDeclarationStatement.cs
- TextBox.cs
- ZipIOExtraFieldPaddingElement.cs
- XmlSchemaAny.cs
- CanonicalFormWriter.cs
- Typeface.cs
- RenderData.cs
- MailAddressParser.cs
- WebSysDescriptionAttribute.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- CaseInsensitiveOrdinalStringComparer.cs
- NetworkAddressChange.cs
- TextDocumentView.cs
- TreeNodeStyleCollection.cs
- SoapObjectInfo.cs
- BinaryConverter.cs
- TrackingMemoryStream.cs
- HotSpot.cs
- activationcontext.cs
- StrongNameUtility.cs
- GeometryGroup.cs
- StandardOleMarshalObject.cs
- CursorInteropHelper.cs
- ConfigXmlSignificantWhitespace.cs
- DescriptionCreator.cs
- EventDescriptor.cs
- HitTestFilterBehavior.cs
- cache.cs
- XmlBufferReader.cs
- HttpServerChannel.cs
- UnitySerializationHolder.cs
- PerformanceCounterPermissionEntry.cs
- FunctionQuery.cs
- FilteredSchemaElementLookUpTable.cs
- SocketInformation.cs
- Matrix3D.cs
- ConstraintStruct.cs
- CodeDefaultValueExpression.cs
- GridItemCollection.cs
- SSmlParser.cs
- ShapeTypeface.cs
- MenuCommand.cs
- wmiprovider.cs
- RangeValidator.cs
- ImpersonateTokenRef.cs
- xmlglyphRunInfo.cs
- ConfigurationSectionGroup.cs
- OutOfProcStateClientManager.cs
- PasswordTextContainer.cs
- GeneralTransform3DGroup.cs
- ThreadStartException.cs
- ErrorInfoXmlDocument.cs
- IgnoreDeviceFilterElement.cs
- HideDisabledControlAdapter.cs
- IISUnsafeMethods.cs
- ArraySegment.cs
- InputLanguageEventArgs.cs
- GorillaCodec.cs
- MonikerHelper.cs
- DeviceContexts.cs
- RtfToXamlReader.cs
- SrgsElementFactory.cs
- MembershipPasswordException.cs
- ConfigurationPropertyAttribute.cs
- GregorianCalendarHelper.cs
- XamlSerializer.cs
- TreeNodeCollection.cs
- StrongNamePublicKeyBlob.cs
- DiagnosticTrace.cs
- WindowsFormsEditorServiceHelper.cs
- DataKey.cs
- ResolveCriteriaCD1.cs
- CommonObjectSecurity.cs
- TypeForwardedFromAttribute.cs
- NumberFunctions.cs
- EditableLabelControl.cs
- Pair.cs
- NativeObjectSecurity.cs
- ZipPackagePart.cs
- XhtmlBasicImageAdapter.cs
- PersonalizationState.cs
- ScriptHandlerFactory.cs
- FixedBufferAttribute.cs
- MergeLocalizationDirectives.cs
- CustomCategoryAttribute.cs
- RoleManagerSection.cs
- ControlParameter.cs
- ScriptRegistrationManager.cs