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
- WebPageTraceListener.cs
- NativeMethods.cs
- BasicExpressionVisitor.cs
- BamlStream.cs
- NativeMethods.cs
- ClientConfigurationHost.cs
- SymmetricAlgorithm.cs
- NamespaceList.cs
- ReturnEventArgs.cs
- PauseStoryboard.cs
- smtpconnection.cs
- ComponentEditorForm.cs
- WindowsRebar.cs
- FragmentQuery.cs
- PtsHelper.cs
- AsyncCompletedEventArgs.cs
- ConfigurationElement.cs
- StringConverter.cs
- FormsAuthentication.cs
- HwndHostAutomationPeer.cs
- OdbcInfoMessageEvent.cs
- XmlCharType.cs
- ContentFilePart.cs
- CompositeFontParser.cs
- BoundsDrawingContextWalker.cs
- ErrorFormatterPage.cs
- SplashScreen.cs
- Matrix3D.cs
- TraceProvider.cs
- EntityDataSourceContainerNameItem.cs
- ShapingEngine.cs
- DateTimeValueSerializerContext.cs
- AuthenticationModuleElementCollection.cs
- EventLogEntryCollection.cs
- documentsequencetextcontainer.cs
- SharedPersonalizationStateInfo.cs
- PropertyGroupDescription.cs
- BamlWriter.cs
- Interop.cs
- SubclassTypeValidator.cs
- TaskFileService.cs
- FileLevelControlBuilderAttribute.cs
- AssemblyName.cs
- Identity.cs
- ComplexBindingPropertiesAttribute.cs
- FtpWebResponse.cs
- DataContractJsonSerializer.cs
- ButtonBaseAutomationPeer.cs
- PointCollection.cs
- TemplatePartAttribute.cs
- TextServicesContext.cs
- SelectionRange.cs
- BindingBase.cs
- ClientSponsor.cs
- ToolStripPanelRenderEventArgs.cs
- String.cs
- BuildResultCache.cs
- ADMembershipUser.cs
- PartialToken.cs
- AsyncStreamReader.cs
- DescendantQuery.cs
- BooleanAnimationUsingKeyFrames.cs
- VisualProxy.cs
- CatalogPartChrome.cs
- XmlProcessingInstruction.cs
- FlowPosition.cs
- HtmlControl.cs
- CounterCreationData.cs
- XmlAttribute.cs
- SendKeys.cs
- Viewport3DVisual.cs
- PrinterUnitConvert.cs
- ByteRangeDownloader.cs
- RewritingSimplifier.cs
- graph.cs
- EntryPointNotFoundException.cs
- RegistrationServices.cs
- CodeDomSerializerBase.cs
- EncoderParameters.cs
- SequentialWorkflowHeaderFooter.cs
- DesignerUtility.cs
- HtmlWindowCollection.cs
- UserPreferenceChangingEventArgs.cs
- SerialReceived.cs
- BCLDebug.cs
- PersonalizationState.cs
- ToolStripItem.cs
- SpecialFolderEnumConverter.cs
- TextDocumentView.cs
- DataServiceQueryOfT.cs
- DataPagerCommandEventArgs.cs
- Geometry3D.cs
- InlineObject.cs
- DeclarationUpdate.cs
- MetricEntry.cs
- RelationshipType.cs
- IItemContainerGenerator.cs
- Int16.cs
- SharingService.cs
- Constraint.cs