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
- GridViewDeleteEventArgs.cs
- Win32Native.cs
- InlinedAggregationOperator.cs
- GeometryHitTestResult.cs
- ISessionStateStore.cs
- DocumentPage.cs
- ValidatingReaderNodeData.cs
- CodeTypeDelegate.cs
- WindowsStartMenu.cs
- RelatedPropertyManager.cs
- ClockController.cs
- HostedAspNetEnvironment.cs
- FormsAuthentication.cs
- Operand.cs
- ZipIOBlockManager.cs
- RelationshipConverter.cs
- MetadataSerializer.cs
- MenuTracker.cs
- UInt16Converter.cs
- XmlValidatingReader.cs
- BamlLocalizableResourceKey.cs
- WebControlsSection.cs
- SecurityKeyIdentifierClause.cs
- SettingsContext.cs
- NumberSubstitution.cs
- Monitor.cs
- Point.cs
- LinqDataSourceDisposeEventArgs.cs
- LogReservationCollection.cs
- GridViewColumn.cs
- SqlDataRecord.cs
- BitmapSourceSafeMILHandle.cs
- XmlSchemaSimpleType.cs
- ZipPackagePart.cs
- SelectedCellsCollection.cs
- AggregateNode.cs
- ConnectionStringsExpressionEditor.cs
- ChannelManager.cs
- SchemaElementLookUpTableEnumerator.cs
- InstanceLockLostException.cs
- XPathSelfQuery.cs
- SpeechDetectedEventArgs.cs
- DataGridViewCellCancelEventArgs.cs
- FlowDocumentReaderAutomationPeer.cs
- XmlQueryType.cs
- InvalidFilterCriteriaException.cs
- TextOnlyOutput.cs
- Imaging.cs
- bindurihelper.cs
- Floater.cs
- AlternateViewCollection.cs
- ValidationErrorEventArgs.cs
- OutputScopeManager.cs
- ObjectPersistData.cs
- PenContext.cs
- AutoSizeComboBox.cs
- Tuple.cs
- _RegBlobWebProxyDataBuilder.cs
- ChangeInterceptorAttribute.cs
- PageWrapper.cs
- Matrix.cs
- ObjectStateEntryDbDataRecord.cs
- PermissionSetTriple.cs
- DataService.cs
- AttachInfo.cs
- StoreContentChangedEventArgs.cs
- RewritingProcessor.cs
- ChannelServices.cs
- ConfigurationStrings.cs
- WriteFileContext.cs
- SaveFileDialog.cs
- DesignTableCollection.cs
- ResourceType.cs
- QueryContinueDragEventArgs.cs
- DrawingImage.cs
- CompositeActivityMarkupSerializer.cs
- EventEntry.cs
- DragDeltaEventArgs.cs
- Fault.cs
- SqlError.cs
- X509SecurityTokenParameters.cs
- CounterSet.cs
- ThreadStartException.cs
- CookielessHelper.cs
- LayoutExceptionEventArgs.cs
- SQLGuidStorage.cs
- Mutex.cs
- HebrewCalendar.cs
- EmbeddedObject.cs
- DBConcurrencyException.cs
- RubberbandSelector.cs
- BamlTreeMap.cs
- PropertyConverter.cs
- SqlMethodTransformer.cs
- BinaryWriter.cs
- FatalException.cs
- WindowsUpDown.cs
- WebPartExportVerb.cs
- DataGridViewCellEventArgs.cs
- LabelAutomationPeer.cs