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
- XmlCustomFormatter.cs
- TimeSpanSecondsConverter.cs
- EntityDataSourceStatementEditor.cs
- SQLMembershipProvider.cs
- InheritanceContextChangedEventManager.cs
- TemplateField.cs
- InstanceDataCollectionCollection.cs
- ApplicationContext.cs
- OrderedDictionary.cs
- PageCodeDomTreeGenerator.cs
- ComponentChangedEvent.cs
- Rect3DValueSerializer.cs
- CallSiteHelpers.cs
- RepeaterItemCollection.cs
- basevalidator.cs
- WebPartDescriptionCollection.cs
- TraceListener.cs
- DistinctQueryOperator.cs
- DtdParser.cs
- ItemPager.cs
- FilteredReadOnlyMetadataCollection.cs
- PropertyEmitterBase.cs
- TailCallAnalyzer.cs
- CngUIPolicy.cs
- SwitchAttribute.cs
- RevocationPoint.cs
- StyleXamlParser.cs
- RsaKeyIdentifierClause.cs
- Variant.cs
- SaveRecipientRequest.cs
- DecimalAnimationBase.cs
- ExtensionDataObject.cs
- NotEqual.cs
- ObjectTypeMapping.cs
- HostAdapter.cs
- Metadata.cs
- GridViewSelectEventArgs.cs
- ResourcesBuildProvider.cs
- DataColumn.cs
- MsmqQueue.cs
- DataSourceCacheDurationConverter.cs
- TableColumn.cs
- CodeVariableDeclarationStatement.cs
- TextAnchor.cs
- ValidationErrorEventArgs.cs
- StorageInfo.cs
- Stack.cs
- MarkupExtensionReturnTypeAttribute.cs
- HttpSessionStateWrapper.cs
- CompilationRelaxations.cs
- ConnectionManagementSection.cs
- TransactedBatchContext.cs
- TypeElementCollection.cs
- TextBoxView.cs
- PublishLicense.cs
- GridViewRow.cs
- InstancePersistenceEvent.cs
- TreeViewEvent.cs
- BamlStream.cs
- HiddenFieldPageStatePersister.cs
- TreeNodeCollectionEditor.cs
- ArgumentDirectionHelper.cs
- XmlNullResolver.cs
- CountdownEvent.cs
- RSAProtectedConfigurationProvider.cs
- CryptoStream.cs
- AdCreatedEventArgs.cs
- WebPartZoneBase.cs
- RuleElement.cs
- CompositionDesigner.cs
- DataGridTableCollection.cs
- ServicePointManagerElement.cs
- WeakReferenceEnumerator.cs
- NegotiateStream.cs
- ListBoxItem.cs
- InternalResources.cs
- SafeMemoryMappedViewHandle.cs
- CodeTypeDeclaration.cs
- ListViewInsertEventArgs.cs
- OptimizerPatterns.cs
- UIElementParagraph.cs
- EnumerableValidator.cs
- ConditionalExpression.cs
- DataGridViewRow.cs
- SmtpDateTime.cs
- SystemWebCachingSectionGroup.cs
- SqlDataSourceQuery.cs
- HttpListenerException.cs
- ResourceProviderFactory.cs
- SpeakCompletedEventArgs.cs
- CrossContextChannel.cs
- MouseDevice.cs
- KnownBoxes.cs
- EncoderNLS.cs
- InvokeSchedule.cs
- VisualProxy.cs
- CodeDefaultValueExpression.cs
- DataErrorValidationRule.cs
- FileRegion.cs
- ReachSerializableProperties.cs