Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / LinkLabelLinkClickedEvent.cs / 1305376 / LinkLabelLinkClickedEvent.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Diagnostics; using System; using System.ComponentModel; using System.Drawing; using Microsoft.Win32; ////// /// [System.Runtime.InteropServices.ComVisible(true)] public class LinkLabelLinkClickedEventArgs : EventArgs { private readonly LinkLabel.Link link; private readonly MouseButtons button; ////// Provides data for the ///event. /// /// /// public LinkLabelLinkClickedEventArgs(LinkLabel.Link link) { this.link = link; this.button = MouseButtons.Left; } public LinkLabelLinkClickedEventArgs(LinkLabel.Link link, MouseButtons button) : this(link) { this.button = button; } ////// Initializes a new instance of the ///class, given the link. /// /// public MouseButtons Button { get { return button; } } ////// Gets the mouseButton which causes the link to be clicked /// ////// /// public LinkLabel.Link Link { get { return link; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Gets the ///that was clicked. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OletxVolatileEnlistment.cs
- SqlCommandSet.cs
- AdornerHitTestResult.cs
- VectorConverter.cs
- StateMachine.cs
- DataListCommandEventArgs.cs
- FormsAuthenticationModule.cs
- ParenthesizePropertyNameAttribute.cs
- ObjectDisposedException.cs
- DragStartedEventArgs.cs
- ByteStream.cs
- AutoResetEvent.cs
- HuffModule.cs
- GraphicsContainer.cs
- EditCommandColumn.cs
- ParamArrayAttribute.cs
- ListControlConvertEventArgs.cs
- AccessorTable.cs
- MouseButton.cs
- _NegotiateClient.cs
- TraceHandlerErrorFormatter.cs
- ReferenceEqualityComparer.cs
- Clock.cs
- AspProxy.cs
- DataGridCellAutomationPeer.cs
- EntityClientCacheKey.cs
- BinaryObjectReader.cs
- DesignerFrame.cs
- FloaterParagraph.cs
- GridToolTip.cs
- XmlAttribute.cs
- TemplateBuilder.cs
- DateTimeSerializationSection.cs
- PartManifestEntry.cs
- RectAnimationClockResource.cs
- Shape.cs
- ToolZone.cs
- Directory.cs
- XmlSchemaAnnotation.cs
- AssemblyAssociatedContentFileAttribute.cs
- StringReader.cs
- RouteUrlExpressionBuilder.cs
- HwndSource.cs
- WebBrowserSiteBase.cs
- SafeViewOfFileHandle.cs
- DocumentGridPage.cs
- CopyAttributesAction.cs
- StringStorage.cs
- CollectionViewGroup.cs
- Drawing.cs
- XPathMessageFilterElementCollection.cs
- basemetadatamappingvisitor.cs
- CheckBoxAutomationPeer.cs
- complextypematerializer.cs
- DataViewListener.cs
- WindowsStreamSecurityElement.cs
- MemberJoinTreeNode.cs
- BamlRecordReader.cs
- HotSpot.cs
- DataDocumentXPathNavigator.cs
- CodeIterationStatement.cs
- NullRuntimeConfig.cs
- Faults.cs
- DelegateBodyWriter.cs
- DESCryptoServiceProvider.cs
- ValueUnavailableException.cs
- OdbcReferenceCollection.cs
- DragStartedEventArgs.cs
- TextBoxView.cs
- XmlSchemaImport.cs
- InvalidOleVariantTypeException.cs
- WebPartZone.cs
- EditableLabelControl.cs
- HttpClientCertificate.cs
- DocumentGridPage.cs
- uribuilder.cs
- AlignmentXValidation.cs
- RequestNavigateEventArgs.cs
- TextTreeDeleteContentUndoUnit.cs
- CodeBinaryOperatorExpression.cs
- DATA_BLOB.cs
- CacheModeValueSerializer.cs
- TableHeaderCell.cs
- ServiceHttpModule.cs
- ConfigurationElement.cs
- SEHException.cs
- CellRelation.cs
- RuleProcessor.cs
- KeyedCollection.cs
- MetadataUtil.cs
- ColorConverter.cs
- EntityTransaction.cs
- XPathNodeInfoAtom.cs
- SQLDoubleStorage.cs
- NumericExpr.cs
- IxmlLineInfo.cs
- SmtpNtlmAuthenticationModule.cs
- Shared.cs
- DataServiceProcessingPipelineEventArgs.cs
- XamlParser.cs