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
- DictionarySurrogate.cs
- SecurityRuntime.cs
- Span.cs
- CodeComment.cs
- CacheOutputQuery.cs
- AccessKeyManager.cs
- EdmScalarPropertyAttribute.cs
- _NtlmClient.cs
- RepeatEnumerable.cs
- XmlBinaryWriterSession.cs
- VersionedStream.cs
- NullableBoolConverter.cs
- CachedRequestParams.cs
- XmlAnyAttributeAttribute.cs
- FormatterServices.cs
- InstanceContextManager.cs
- TypeLibConverter.cs
- ConditionChanges.cs
- SettingsPropertyCollection.cs
- ping.cs
- ReadOnlyKeyedCollection.cs
- ErrorFormatterPage.cs
- PeerNameRecord.cs
- OutputChannel.cs
- RangeBase.cs
- StylesEditorDialog.cs
- SqlClientFactory.cs
- ToolStripPanelRow.cs
- QueryableDataSourceView.cs
- PersistenceTypeAttribute.cs
- ImageListStreamer.cs
- PointCollectionValueSerializer.cs
- Help.cs
- SBCSCodePageEncoding.cs
- ObjectDataSourceView.cs
- ListViewAutomationPeer.cs
- Soap.cs
- XComponentModel.cs
- PostBackOptions.cs
- DbCommandDefinition.cs
- CryptoApi.cs
- CodeTypeReferenceSerializer.cs
- ActivityCodeDomSerializationManager.cs
- DecoderFallbackWithFailureFlag.cs
- RegularExpressionValidator.cs
- SerializationFieldInfo.cs
- SafeUserTokenHandle.cs
- TabControlToolboxItem.cs
- FamilyMapCollection.cs
- DataColumnMappingCollection.cs
- PropertyPathConverter.cs
- SystemColors.cs
- DoubleUtil.cs
- SystemNetworkInterface.cs
- UnsafeNativeMethods.cs
- Hex.cs
- COM2FontConverter.cs
- Listbox.cs
- HttpStreamFormatter.cs
- StringFunctions.cs
- GeneratedView.cs
- MetadataItemCollectionFactory.cs
- CodeGotoStatement.cs
- ProcessStartInfo.cs
- CodeDomLocalizationProvider.cs
- HtmlMobileTextWriter.cs
- PermissionSetTriple.cs
- DataBindingCollection.cs
- RIPEMD160.cs
- Rect.cs
- DataGridViewToolTip.cs
- HwndPanningFeedback.cs
- DeviceContext.cs
- FromReply.cs
- WindowsTokenRoleProvider.cs
- ContentValidator.cs
- FunctionImportElement.cs
- SqlDataSourceEnumerator.cs
- DrawItemEvent.cs
- ToolStripSettings.cs
- Converter.cs
- ContextProperty.cs
- GenericPrincipal.cs
- DispatchChannelSink.cs
- DataGridCommandEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- Latin1Encoding.cs
- Activator.cs
- MemberRestriction.cs
- ThicknessAnimation.cs
- ProcessThreadCollection.cs
- IndexerNameAttribute.cs
- CharEnumerator.cs
- BaseAddressElementCollection.cs
- SystemInfo.cs
- RIPEMD160.cs
- ByteStreamGeometryContext.cs
- UserControl.cs
- ListViewItemEventArgs.cs
- SamlAdvice.cs