Code:
/ FX-1434 / FX-1434 / 1.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
- HtmlTitle.cs
- EdmError.cs
- RelationshipSet.cs
- SoapAttributes.cs
- ContentTextAutomationPeer.cs
- GridViewRowEventArgs.cs
- PatternMatcher.cs
- ClockController.cs
- ConditionalBranch.cs
- PerformanceCounterCategory.cs
- COM2ComponentEditor.cs
- CursorConverter.cs
- InitializerFacet.cs
- RichTextBoxContextMenu.cs
- DeliveryStrategy.cs
- GenericTypeParameterBuilder.cs
- ScrollableControl.cs
- XmlElementList.cs
- MimeTypeMapper.cs
- PrimitiveXmlSerializers.cs
- ConnectionPoint.cs
- PipeException.cs
- GeneralTransform3DTo2DTo3D.cs
- CheckPair.cs
- LogSwitch.cs
- DataListCommandEventArgs.cs
- XamlPathDataSerializer.cs
- UserControlParser.cs
- WindowsRichEditRange.cs
- StreamResourceInfo.cs
- WebServiceFaultDesigner.cs
- TreeNodeMouseHoverEvent.cs
- RegexCode.cs
- ScriptResourceAttribute.cs
- XmlDataSourceView.cs
- AddInAdapter.cs
- RestHandlerFactory.cs
- GenericTextProperties.cs
- ADConnectionHelper.cs
- DefinitionUpdate.cs
- ApplicationServiceManager.cs
- ISAPIApplicationHost.cs
- PageBuildProvider.cs
- ReliabilityContractAttribute.cs
- CryptoApi.cs
- RefreshEventArgs.cs
- HwndStylusInputProvider.cs
- TextElementCollectionHelper.cs
- IntPtr.cs
- AsyncOperationLifetimeManager.cs
- BindingEntityInfo.cs
- _Rfc2616CacheValidators.cs
- WindowsGraphics2.cs
- FilePrompt.cs
- TypeValidationEventArgs.cs
- ToolBarButton.cs
- ConnectionManagementSection.cs
- XmlQuerySequence.cs
- HttpWebRequest.cs
- TemplatePropertyEntry.cs
- ConfigDefinitionUpdates.cs
- EllipticalNodeOperations.cs
- ContentType.cs
- ConfigurationSettings.cs
- RIPEMD160.cs
- ByteStream.cs
- SamlAudienceRestrictionCondition.cs
- WindowClosedEventArgs.cs
- WindowsClaimSet.cs
- GPStream.cs
- DataListItemEventArgs.cs
- SiteMapNodeCollection.cs
- OLEDB_Enum.cs
- Lease.cs
- LocatorPartList.cs
- TemplateComponentConnector.cs
- FormViewInsertedEventArgs.cs
- XhtmlBasicLabelAdapter.cs
- ExtendedProperty.cs
- OutputScopeManager.cs
- TextClipboardData.cs
- ISFClipboardData.cs
- InvokePatternIdentifiers.cs
- HttpServerChannel.cs
- ResourceProviderFactory.cs
- SegmentInfo.cs
- QueryProcessor.cs
- AliasGenerator.cs
- DataFormats.cs
- PrintingPermission.cs
- PrimaryKeyTypeConverter.cs
- GridViewUpdatedEventArgs.cs
- VisualBrush.cs
- AnonymousIdentificationSection.cs
- XappLauncher.cs
- WebBrowserBase.cs
- NavigatingCancelEventArgs.cs
- DataConnectionHelper.cs
- TextTreeExtractElementUndoUnit.cs
- FileUtil.cs