Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / LinkLabelLinkClickedEvent.cs / 1305376 / 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./// Gets the ///that was clicked. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CoreChannel.cs
- EntityCodeGenerator.cs
- TimeIntervalCollection.cs
- RuleSettings.cs
- StyleBamlTreeBuilder.cs
- ProfileParameter.cs
- ResolveNextArgumentWorkItem.cs
- RowSpanVector.cs
- TableRow.cs
- DropShadowBitmapEffect.cs
- StreamingContext.cs
- SqlTransaction.cs
- FormView.cs
- PropertyInfoSet.cs
- EncoderNLS.cs
- UnSafeCharBuffer.cs
- InvalidEnumArgumentException.cs
- ListenerElementsCollection.cs
- LabelLiteral.cs
- CompleteWizardStep.cs
- DependencyObjectType.cs
- Matrix.cs
- DrawingContextDrawingContextWalker.cs
- SafeHandles.cs
- ContentOperations.cs
- RawTextInputReport.cs
- ConstraintManager.cs
- Route.cs
- XmlSchemaRedefine.cs
- initElementDictionary.cs
- TextSelectionProcessor.cs
- SrgsElementFactoryCompiler.cs
- TextRunProperties.cs
- FactoryMaker.cs
- CodeEntryPointMethod.cs
- IndexOutOfRangeException.cs
- DateTimeConverter2.cs
- Qualifier.cs
- BasePattern.cs
- URLString.cs
- XmlConverter.cs
- MissingSatelliteAssemblyException.cs
- XmlSiteMapProvider.cs
- ProviderConnectionPoint.cs
- ObjectContextServiceProvider.cs
- QueueProcessor.cs
- SQLRoleProvider.cs
- DesignerActionPanel.cs
- WebServiceFaultDesigner.cs
- DesignerDataTableBase.cs
- SynchronizingStream.cs
- DataKey.cs
- ComponentEditorForm.cs
- MachineKeySection.cs
- AssemblyNameProxy.cs
- DocumentsTrace.cs
- TextEditorSelection.cs
- DbMetaDataFactory.cs
- RemoveFromCollection.cs
- DateTime.cs
- X509CertificateCollection.cs
- MissingManifestResourceException.cs
- ThreadStaticAttribute.cs
- MembershipUser.cs
- ResourceFallbackManager.cs
- LogStore.cs
- RegexCapture.cs
- SqlInternalConnection.cs
- QilCloneVisitor.cs
- UIAgentMonitorHandle.cs
- Figure.cs
- WindowsStartMenu.cs
- WebPart.cs
- Composition.cs
- RefreshPropertiesAttribute.cs
- SqlReorderer.cs
- ScrollChrome.cs
- TiffBitmapEncoder.cs
- InvokePattern.cs
- SpellerInterop.cs
- ServiceBehaviorElementCollection.cs
- CommandField.cs
- EntityDataSourceMemberPath.cs
- TextContainerChangeEventArgs.cs
- XmlSigningNodeWriter.cs
- DbConnectionOptions.cs
- AnonymousIdentificationModule.cs
- TextServicesProperty.cs
- StandardCommandToolStripMenuItem.cs
- DrawingCollection.cs
- TextSearch.cs
- TextInfo.cs
- ResponseBodyWriter.cs
- LowerCaseStringConverter.cs
- DiscreteKeyFrames.cs
- CapabilitiesRule.cs
- ViewStateException.cs
- XmlConverter.cs
- NullReferenceException.cs
- ChangeNode.cs