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
- RTTypeWrapper.cs
- WpfPayload.cs
- LinqDataSourceDeleteEventArgs.cs
- XmlKeywords.cs
- BinaryParser.cs
- DisableDpiAwarenessAttribute.cs
- XmlCharacterData.cs
- RootBrowserWindow.cs
- DbFunctionCommandTree.cs
- InvokeSchedule.cs
- CreateRefExpr.cs
- IntellisenseTextBox.designer.cs
- DataGridViewCellValueEventArgs.cs
- WebResourceAttribute.cs
- IntPtr.cs
- NavigationFailedEventArgs.cs
- ValidatingPropertiesEventArgs.cs
- SqlCacheDependencyDatabase.cs
- NullableIntMinMaxAggregationOperator.cs
- RoleGroupCollection.cs
- ApplicationSecurityManager.cs
- DocComment.cs
- InputChannelBinder.cs
- SolidColorBrush.cs
- XmlException.cs
- TextDecoration.cs
- ObjectListFieldsPage.cs
- OdbcFactory.cs
- AutomationElementCollection.cs
- CardSpaceSelector.cs
- MouseDevice.cs
- BooleanStorage.cs
- Privilege.cs
- QueryStringHandler.cs
- ResetableIterator.cs
- EntityDataSourceQueryBuilder.cs
- PropertyChange.cs
- XPathSelfQuery.cs
- SqlLiftWhereClauses.cs
- JsonServiceDocumentSerializer.cs
- IPEndPoint.cs
- DebugView.cs
- __Filters.cs
- GridLengthConverter.cs
- LogLogRecordEnumerator.cs
- ConfigurationPermission.cs
- RegularExpressionValidator.cs
- Executor.cs
- EditorZoneBase.cs
- ErrorFormatter.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- MessageRpc.cs
- Zone.cs
- ServicePointManager.cs
- PersonalizableTypeEntry.cs
- ResourceDisplayNameAttribute.cs
- FocusChangedEventArgs.cs
- arabicshape.cs
- WebPartRestoreVerb.cs
- GraphicsPath.cs
- FontFamilyValueSerializer.cs
- CorrelationManager.cs
- DrawingGroup.cs
- CoreSwitches.cs
- SafeProcessHandle.cs
- MenuCommands.cs
- Knowncolors.cs
- ShaderEffect.cs
- Int16Animation.cs
- IntSecurity.cs
- ScriptManager.cs
- TraceFilter.cs
- DtrList.cs
- DocobjHost.cs
- ByteStream.cs
- RevocationPoint.cs
- EventWaitHandleSecurity.cs
- XmlLanguageConverter.cs
- DBSchemaTable.cs
- UpdateCompiler.cs
- HttpModuleCollection.cs
- AvTraceDetails.cs
- DataGridViewCellParsingEventArgs.cs
- BufferBuilder.cs
- TreeView.cs
- RelationshipConstraintValidator.cs
- ActivityCollectionMarkupSerializer.cs
- OrderingExpression.cs
- oledbmetadatacolumnnames.cs
- XmlUtil.cs
- Console.cs
- SecurityManager.cs
- DataSourceControlBuilder.cs
- SqlCrossApplyToCrossJoin.cs
- SqlDependencyUtils.cs
- NetMsmqBindingCollectionElement.cs
- InvalidAsynchronousStateException.cs
- VisualBrush.cs
- HeaderedContentControl.cs
- SplitterEvent.cs