Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / HelpInfo.cs / 2 / 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
- WebScriptMetadataMessage.cs
- ByeMessageApril2005.cs
- GetPageNumberCompletedEventArgs.cs
- SettingsPropertyValue.cs
- HtmlEncodedRawTextWriter.cs
- DesignerSelectionListAdapter.cs
- TextUtf8RawTextWriter.cs
- XmlSchemaSimpleTypeList.cs
- ColumnMapProcessor.cs
- X509WindowsSecurityToken.cs
- SoapInteropTypes.cs
- Stream.cs
- Bitmap.cs
- FileUtil.cs
- TracedNativeMethods.cs
- SqlNotificationEventArgs.cs
- DataProviderNameConverter.cs
- EntityObject.cs
- DataGridViewTextBoxEditingControl.cs
- CustomLineCap.cs
- SevenBitStream.cs
- Rect.cs
- Wildcard.cs
- ServiceModelEnumValidatorAttribute.cs
- ConditionChanges.cs
- BitmapSource.cs
- DateTimeConstantAttribute.cs
- HMACRIPEMD160.cs
- DataControlCommands.cs
- AppLevelCompilationSectionCache.cs
- ColumnResizeAdorner.cs
- SymLanguageVendor.cs
- CheckBox.cs
- MimeTypeMapper.cs
- PeerNameRegistration.cs
- FixedSOMLineCollection.cs
- MultiTrigger.cs
- ModuleBuilder.cs
- BigInt.cs
- SchemaImporterExtension.cs
- InstanceHandleConflictException.cs
- ObjectListCommandEventArgs.cs
- ValidationResult.cs
- ControlPersister.cs
- HostingMessageProperty.cs
- ApplicationSecurityManager.cs
- CombinedGeometry.cs
- TextEditor.cs
- Pts.cs
- LookupBindingPropertiesAttribute.cs
- Listbox.cs
- BooleanExpr.cs
- ProgressBarAutomationPeer.cs
- EmptyStringExpandableObjectConverter.cs
- ChannelSinkStacks.cs
- SqlLiftWhereClauses.cs
- Token.cs
- ApplicationManager.cs
- AsyncOperationManager.cs
- DbDataRecord.cs
- LinkLabelLinkClickedEvent.cs
- BindingExpressionUncommonField.cs
- ApplicationManager.cs
- LeaseManager.cs
- TextEffectResolver.cs
- BeginSelectCardRequest.cs
- WCFModelStrings.Designer.cs
- ActivationArguments.cs
- EmbeddedMailObject.cs
- ByeOperation11AsyncResult.cs
- SymbolPair.cs
- SerializationException.cs
- XPathNavigatorKeyComparer.cs
- RectIndependentAnimationStorage.cs
- FontFamilyConverter.cs
- EnvelopedSignatureTransform.cs
- MemoryPressure.cs
- SurrogateChar.cs
- _ContextAwareResult.cs
- ProjectionNode.cs
- ToolStripRenderer.cs
- TextDecorationUnitValidation.cs
- ServicesUtilities.cs
- ItemAutomationPeer.cs
- Mutex.cs
- DrawingContextDrawingContextWalker.cs
- BidOverLoads.cs
- ComplusEndpointConfigContainer.cs
- EntityTemplateFactory.cs
- DataListDesigner.cs
- AnonymousIdentificationSection.cs
- InputLanguageSource.cs
- XmlIlGenerator.cs
- EditorZone.cs
- GradientBrush.cs
- ScrollContentPresenter.cs
- Int16.cs
- ContextMenuStripGroup.cs
- LockedActivityGlyph.cs
- X509CertificateChain.cs