Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathArrayIterator.cs
- SqlClientWrapperSmiStreamChars.cs
- TTSEngineTypes.cs
- ErrorWrapper.cs
- ServiceObjectContainer.cs
- DataGridViewRowPrePaintEventArgs.cs
- Transform3DCollection.cs
- SystemDiagnosticsSection.cs
- DateTimeParse.cs
- FilterEventArgs.cs
- CaseExpr.cs
- SecurityPermission.cs
- EventLogPermissionEntry.cs
- WebBrowserContainer.cs
- TextModifier.cs
- ObjectAnimationBase.cs
- EllipseGeometry.cs
- SelectionItemProviderWrapper.cs
- ScriptingScriptResourceHandlerSection.cs
- PageCatalogPart.cs
- SerialReceived.cs
- TraceSection.cs
- TransactionState.cs
- FontWeightConverter.cs
- AbsoluteQuery.cs
- QuaternionKeyFrameCollection.cs
- InkCanvas.cs
- DocumentSequenceHighlightLayer.cs
- TransformerInfo.cs
- SecurityAlgorithmSuiteConverter.cs
- ByteAnimation.cs
- XmlParser.cs
- Hashtable.cs
- TypeSystemProvider.cs
- ManipulationDelta.cs
- SimpleMailWebEventProvider.cs
- UpDownEvent.cs
- SafeNativeMethodsMilCoreApi.cs
- ControlBindingsCollection.cs
- TabControlDesigner.cs
- AbsoluteQuery.cs
- HwndSourceParameters.cs
- LinkArea.cs
- RuntimeIdentifierPropertyAttribute.cs
- SystemIcons.cs
- GradientStop.cs
- FrameworkRichTextComposition.cs
- GestureRecognizer.cs
- StateItem.cs
- SizeKeyFrameCollection.cs
- ToolStripLabel.cs
- BamlRecordReader.cs
- Axis.cs
- GestureRecognizer.cs
- XPathNodeList.cs
- InvalidDataException.cs
- PointCollectionConverter.cs
- System.Data.OracleClient_BID.cs
- WarningException.cs
- SimpleExpression.cs
- NavigationPropertyEmitter.cs
- DataSourceCache.cs
- TCPClient.cs
- InheritedPropertyChangedEventArgs.cs
- ExtensionsSection.cs
- StaticTextPointer.cs
- MetadataPropertyAttribute.cs
- StyleTypedPropertyAttribute.cs
- XmlUnspecifiedAttribute.cs
- CharEntityEncoderFallback.cs
- DistributedTransactionPermission.cs
- EventlogProvider.cs
- InvokeProviderWrapper.cs
- FastEncoder.cs
- ReliableDuplexSessionChannel.cs
- XmlReader.cs
- Help.cs
- TableItemStyle.cs
- SamlAuthorityBinding.cs
- IndexedString.cs
- IteratorDescriptor.cs
- PolicyImporterElementCollection.cs
- LateBoundBitmapDecoder.cs
- SqlNode.cs
- InvokeMethodDesigner.xaml.cs
- Calendar.cs
- NativeCompoundFileAPIs.cs
- SequenceDesigner.cs
- DataGridViewRowCancelEventArgs.cs
- CustomActivityDesigner.cs
- DataViewListener.cs
- SecurityBindingElementImporter.cs
- OleDbRowUpdatingEvent.cs
- TraceProvider.cs
- parserscommon.cs
- ExternalException.cs
- RuntimeHandles.cs
- ChangeInterceptorAttribute.cs
- WebPartsSection.cs
- FrameDimension.cs