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
- CngAlgorithm.cs
- ProxyWebPartConnectionCollection.cs
- PersonalizationProvider.cs
- ZeroOpNode.cs
- SqlDataSourceSelectingEventArgs.cs
- EventProviderTraceListener.cs
- MoveSizeWinEventHandler.cs
- versioninfo.cs
- Empty.cs
- ContentPropertyAttribute.cs
- BaseParaClient.cs
- DataPointer.cs
- DataGridViewButtonCell.cs
- PartManifestEntry.cs
- DelegateSerializationHolder.cs
- SynchronizationFilter.cs
- XmlIgnoreAttribute.cs
- ClientSettingsSection.cs
- DocumentSchemaValidator.cs
- ToolTip.cs
- UpdateRecord.cs
- ColorTransformHelper.cs
- ControlPropertyNameConverter.cs
- InProcStateClientManager.cs
- ManifestSignatureInformation.cs
- MultipleViewPattern.cs
- BitmapEffectGroup.cs
- ComponentEvent.cs
- CodeTypeConstructor.cs
- AuthorizationSection.cs
- ViewValidator.cs
- ISFTagAndGuidCache.cs
- ConfigXmlCDataSection.cs
- HttpRequestCacheValidator.cs
- PropertySet.cs
- Base64Decoder.cs
- SortKey.cs
- SemanticResultValue.cs
- WebPartPersonalization.cs
- DataFormats.cs
- XmlSchemaGroup.cs
- TextSpan.cs
- PeerToPeerException.cs
- NativeRecognizer.cs
- MarshalByRefObject.cs
- EnvelopedPkcs7.cs
- MetadataSerializer.cs
- ActivityExecutionContextCollection.cs
- EntityModelBuildProvider.cs
- xmlfixedPageInfo.cs
- BuildProvider.cs
- EFTableProvider.cs
- RoutingBehavior.cs
- TextElement.cs
- CmsInterop.cs
- Compiler.cs
- SelfIssuedAuthAsymmetricKey.cs
- MappingItemCollection.cs
- HttpPostedFileBase.cs
- MarkupObject.cs
- HtmlToClrEventProxy.cs
- XmlProcessingInstruction.cs
- SplitterEvent.cs
- StaticContext.cs
- BindingCompleteEventArgs.cs
- StandardToolWindows.cs
- FileVersion.cs
- EventListenerClientSide.cs
- DBConnection.cs
- FactoryId.cs
- DynamicActivityProperty.cs
- TaiwanLunisolarCalendar.cs
- RadioButtonPopupAdapter.cs
- NameTable.cs
- PolicyException.cs
- SchemaAttDef.cs
- DesignerHost.cs
- ChildChangedEventArgs.cs
- ProfileGroupSettingsCollection.cs
- EntityTypeEmitter.cs
- TagNameToTypeMapper.cs
- Label.cs
- TableLayoutStyle.cs
- Label.cs
- CacheHelper.cs
- StrongTypingException.cs
- ClientSideProviderDescription.cs
- Compiler.cs
- HttpListenerContext.cs
- SimpleBitVector32.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- listitem.cs
- AxHost.cs
- AutoGeneratedField.cs
- PaintValueEventArgs.cs
- SaveFileDialog.cs
- FixedPageStructure.cs
- Hex.cs
- ActivityBuilderHelper.cs
- ListSortDescription.cs