Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / LinkLabelLinkClickedEvent.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved./// Gets the ///that was clicked. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ReadOnlyDictionary.cs
- StylusPlugin.cs
- ConversionHelper.cs
- WorkItem.cs
- LinkArea.cs
- StreamGeometry.cs
- ConnectionStringsSection.cs
- TransformationRules.cs
- WpfWebRequestHelper.cs
- ExpressionBindingCollection.cs
- ListGeneralPage.cs
- FormatException.cs
- SplashScreen.cs
- TypeElementCollection.cs
- OdbcConnectionOpen.cs
- PerformanceCounterPermission.cs
- DriveInfo.cs
- ProxyFragment.cs
- InstanceDescriptor.cs
- ComponentDispatcherThread.cs
- XmlCharCheckingReader.cs
- SecurityTokenParameters.cs
- InkCanvas.cs
- HandledMouseEvent.cs
- StrokeCollectionConverter.cs
- TagMapCollection.cs
- InputElement.cs
- WS2007FederationHttpBinding.cs
- TraceHandlerErrorFormatter.cs
- PrintPreviewDialog.cs
- PKCS1MaskGenerationMethod.cs
- AttributeQuery.cs
- DbQueryCommandTree.cs
- PrivilegeNotHeldException.cs
- ComContractElementCollection.cs
- BackgroundWorker.cs
- ButtonColumn.cs
- FontInfo.cs
- TraceFilter.cs
- GradientBrush.cs
- ParseHttpDate.cs
- WebPartHeaderCloseVerb.cs
- TextViewSelectionProcessor.cs
- ResourceDescriptionAttribute.cs
- RelationshipConstraintValidator.cs
- AuthenticationServiceManager.cs
- SiteMapHierarchicalDataSourceView.cs
- SrgsElementList.cs
- LineInfo.cs
- UniqueIdentifierService.cs
- ButtonStandardAdapter.cs
- SessionEndingEventArgs.cs
- JpegBitmapDecoder.cs
- unsafeIndexingFilterStream.cs
- EventWaitHandleSecurity.cs
- HtmlShim.cs
- Lasso.cs
- HtmlImageAdapter.cs
- ProtocolElement.cs
- StrongNameMembershipCondition.cs
- sortedlist.cs
- AnchoredBlock.cs
- Int32Rect.cs
- TypeListConverter.cs
- ResourceProperty.cs
- PropertiesTab.cs
- WebResourceAttribute.cs
- AutomationPeer.cs
- MetadataItemEmitter.cs
- DataControlFieldCell.cs
- DbConnectionPool.cs
- StrongNameIdentityPermission.cs
- XmlSchemaAll.cs
- LocalValueEnumerator.cs
- CompilerScopeManager.cs
- NamespaceList.cs
- SubtreeProcessor.cs
- DirectoryGroupQuery.cs
- IpcClientChannel.cs
- UniqueID.cs
- ProtectedConfiguration.cs
- UIElement3D.cs
- NameValueFileSectionHandler.cs
- CommandBinding.cs
- LinearGradientBrush.cs
- DataBoundControl.cs
- ConnectionProviderAttribute.cs
- PrivacyNoticeElement.cs
- PropertyEntry.cs
- LabelDesigner.cs
- XmlConvert.cs
- TypeConverterHelper.cs
- DesignTimeTemplateParser.cs
- ParameterElement.cs
- LongTypeConverter.cs
- PreservationFileReader.cs
- InputReportEventArgs.cs
- IssuanceLicense.cs
- CredentialManagerDialog.cs
- VectorAnimation.cs