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
- JournalEntryStack.cs
- XmlLanguage.cs
- HttpContextWrapper.cs
- TabControlAutomationPeer.cs
- Journal.cs
- MemberCollection.cs
- ParallelEnumerableWrapper.cs
- CodeArrayIndexerExpression.cs
- DrawingAttributesDefaultValueFactory.cs
- BezierSegment.cs
- ControlPaint.cs
- TaskScheduler.cs
- CodeVariableDeclarationStatement.cs
- HtmlLiteralTextAdapter.cs
- TextRunProperties.cs
- DataGridViewColumnCollection.cs
- TextBox.cs
- CodeStatementCollection.cs
- TableHeaderCell.cs
- StickyNote.cs
- DataChangedEventManager.cs
- SafeCryptContextHandle.cs
- TimeoutValidationAttribute.cs
- HttpListener.cs
- DaylightTime.cs
- VectorConverter.cs
- ClearTypeHintValidation.cs
- InvokeMethodActivityDesigner.cs
- JournalEntryStack.cs
- XmlQueryOutput.cs
- Span.cs
- Animatable.cs
- TransformerConfigurationWizardBase.cs
- DefaultTraceListener.cs
- GridView.cs
- LinkTarget.cs
- HtmlTextArea.cs
- InkCanvasFeedbackAdorner.cs
- SchemaEntity.cs
- SurrogateEncoder.cs
- TraceSource.cs
- ResourceSetExpression.cs
- QuaternionRotation3D.cs
- PropertyItemInternal.cs
- AuthenticationModulesSection.cs
- UpdatePanelTriggerCollection.cs
- XmlArrayAttribute.cs
- OnOperation.cs
- EnumBuilder.cs
- SafeNativeMethods.cs
- ResolvedKeyFrameEntry.cs
- ConvertBinder.cs
- SecurityMessageProperty.cs
- XmlILStorageConverter.cs
- XsdDataContractExporter.cs
- StartFileNameEditor.cs
- GenericTypeParameterBuilder.cs
- TemplateBindingExpression.cs
- SemanticBasicElement.cs
- ADMembershipProvider.cs
- ExpandoClass.cs
- Timer.cs
- CqlQuery.cs
- WebServiceReceiveDesigner.cs
- ContextStaticAttribute.cs
- SerializationFieldInfo.cs
- ProgressBar.cs
- ETagAttribute.cs
- SchemaInfo.cs
- NodeFunctions.cs
- FlagsAttribute.cs
- Request.cs
- CheckableControlBaseAdapter.cs
- OperationCanceledException.cs
- TrackingStringDictionary.cs
- EntityContainerEntitySetDefiningQuery.cs
- DependencyObject.cs
- DirectoryInfo.cs
- OpenTypeLayout.cs
- BamlStream.cs
- Popup.cs
- RSACryptoServiceProvider.cs
- AnimationException.cs
- InputReportEventArgs.cs
- AuthenticationSection.cs
- Substitution.cs
- AbstractExpressions.cs
- ImportContext.cs
- Overlapped.cs
- sqlstateclientmanager.cs
- ArglessEventHandlerProxy.cs
- ApplicationSecurityManager.cs
- DictionarySurrogate.cs
- PasswordRecovery.cs
- PassportAuthentication.cs
- NamespaceCollection.cs
- PriorityBindingExpression.cs
- DataBinder.cs
- TreeView.cs
- DocumentViewerConstants.cs