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
- SequenceFullException.cs
- FSWPathEditor.cs
- SymDocumentType.cs
- DefaultValueConverter.cs
- ErrorHandler.cs
- StorageMappingFragment.cs
- ImplicitInputBrush.cs
- TextContainerHelper.cs
- PrintEvent.cs
- StringSorter.cs
- SecurityException.cs
- DependencyPropertyChangedEventArgs.cs
- WebPartConnection.cs
- MSAAEventDispatcher.cs
- ThreadExceptionEvent.cs
- MediaElement.cs
- HotSpot.cs
- infer.cs
- ValueTable.cs
- MissingMethodException.cs
- XpsPackagingException.cs
- Setter.cs
- PasswordBox.cs
- ObjectParameter.cs
- AppSettingsReader.cs
- StorageTypeMapping.cs
- MetadataFile.cs
- Style.cs
- DrawingGroup.cs
- _HelperAsyncResults.cs
- ConfigXmlText.cs
- SessionSwitchEventArgs.cs
- TextTreeText.cs
- SystemColorTracker.cs
- XmlLinkedNode.cs
- AnnotationAdorner.cs
- ClientCredentials.cs
- UserInitiatedNavigationPermission.cs
- WindowsAuthenticationModule.cs
- BinaryWriter.cs
- TraceHwndHost.cs
- WebMessageEncodingBindingElement.cs
- ViewStateException.cs
- CompositeFontParser.cs
- MsmqMessage.cs
- FixedSOMContainer.cs
- NamedPipeChannelListener.cs
- ListViewTableCell.cs
- PeerService.cs
- StoragePropertyMapping.cs
- WebPartVerbsEventArgs.cs
- StrongNamePublicKeyBlob.cs
- BrushMappingModeValidation.cs
- Maps.cs
- DoubleMinMaxAggregationOperator.cs
- Helpers.cs
- LinkedResource.cs
- Simplifier.cs
- HistoryEventArgs.cs
- XmlSignatureManifest.cs
- SessionStateUtil.cs
- DeleteHelper.cs
- PaintEvent.cs
- XmlQueryType.cs
- TextTreeInsertElementUndoUnit.cs
- HtmlInputText.cs
- DesignerContextDescriptor.cs
- SemanticAnalyzer.cs
- ServiceEndpointCollection.cs
- MouseOverProperty.cs
- Context.cs
- TextEmbeddedObject.cs
- mediaeventshelper.cs
- SqlDataSourceView.cs
- DrawingBrush.cs
- NegotiateStream.cs
- XmlBufferReader.cs
- RestHandler.cs
- Mappings.cs
- ObjectViewQueryResultData.cs
- TemplateApplicationHelper.cs
- PageContentCollection.cs
- SoapSchemaImporter.cs
- CultureInfoConverter.cs
- GraphicsPathIterator.cs
- XPathSelfQuery.cs
- AccessedThroughPropertyAttribute.cs
- GlyphsSerializer.cs
- SqlConnectionHelper.cs
- CodeIdentifiers.cs
- FixedSOMGroup.cs
- EntityDataSourceChangingEventArgs.cs
- DbTransaction.cs
- NativeMethods.cs
- ToolboxComponentsCreatedEventArgs.cs
- SiteMapProvider.cs
- Grant.cs
- TextServicesContext.cs
- HelpProvider.cs
- NativeActivityTransactionContext.cs