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
- Geometry3D.cs
- XamlContextStack.cs
- DataGridViewColumnCollection.cs
- EnumDataContract.cs
- ReliabilityContractAttribute.cs
- XPathSelectionIterator.cs
- AsnEncodedData.cs
- FormatException.cs
- SiteMapNodeItem.cs
- SqlBulkCopy.cs
- CombinedGeometry.cs
- AnnotationResourceChangedEventArgs.cs
- GridViewCancelEditEventArgs.cs
- XamlRtfConverter.cs
- EndpointIdentity.cs
- Method.cs
- InputEventArgs.cs
- UInt32Converter.cs
- SQLRoleProvider.cs
- DataQuery.cs
- LineVisual.cs
- ListControlStringCollectionEditor.cs
- BuildManager.cs
- TraceShell.cs
- DropDownList.cs
- LinkArea.cs
- DataObjectFieldAttribute.cs
- Parser.cs
- RubberbandSelector.cs
- SchemaMapping.cs
- SqlConnectionPoolProviderInfo.cs
- TypeDelegator.cs
- AutoGeneratedFieldProperties.cs
- ContextQuery.cs
- SystemGatewayIPAddressInformation.cs
- ResourceManagerWrapper.cs
- Metadata.cs
- CompilerCollection.cs
- PointLightBase.cs
- CompositionCommandSet.cs
- DBSchemaTable.cs
- ResolvedKeyFrameEntry.cs
- TextRangeBase.cs
- FilteredXmlReader.cs
- PhysicalAddress.cs
- DocumentViewerAutomationPeer.cs
- FileDialogPermission.cs
- AuthStoreRoleProvider.cs
- LabelTarget.cs
- PixelShader.cs
- TypeDefinition.cs
- Matrix3DConverter.cs
- ToolStripSettings.cs
- PointCollection.cs
- cookieexception.cs
- ObfuscateAssemblyAttribute.cs
- DateTimeFormatInfo.cs
- ConfigurationManagerHelper.cs
- ScrollEventArgs.cs
- WebZone.cs
- GACMembershipCondition.cs
- EqualityComparer.cs
- CultureInfoConverter.cs
- SelectionRange.cs
- ToolstripProfessionalRenderer.cs
- TextDecoration.cs
- ScopeCompiler.cs
- WSFederationHttpSecurityElement.cs
- ConfigUtil.cs
- BitStream.cs
- ColumnWidthChangingEvent.cs
- MemberRelationshipService.cs
- JsonObjectDataContract.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- WS2007FederationHttpBindingElement.cs
- PackWebResponse.cs
- BindToObject.cs
- XmlSchemaAll.cs
- ObjectCloneHelper.cs
- FtpWebRequest.cs
- RectangleHotSpot.cs
- VariantWrapper.cs
- PlacementWorkspace.cs
- AddressUtility.cs
- XsdBuilder.cs
- Point3DCollectionConverter.cs
- SafeIUnknown.cs
- validationstate.cs
- PowerEase.cs
- COM2FontConverter.cs
- Focus.cs
- SafeCryptoHandles.cs
- DropDownList.cs
- XmlDataSourceNodeDescriptor.cs
- HtmlWindow.cs
- FormatterConverter.cs
- FixedLineResult.cs
- IpcChannelHelper.cs
- ScrollViewerAutomationPeer.cs
- MarkupCompilePass1.cs