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
- TableLayout.cs
- Attributes.cs
- LicenseManager.cs
- RectangleF.cs
- TemplateManager.cs
- StrokeFIndices.cs
- StackBuilderSink.cs
- SiteMapDataSourceView.cs
- Attributes.cs
- TextTreeInsertElementUndoUnit.cs
- ComponentEditorForm.cs
- IPCCacheManager.cs
- UndirectedGraph.cs
- TreeChangeInfo.cs
- PolicyLevel.cs
- DesignerActionVerbList.cs
- TrackPointCollection.cs
- ListViewDeletedEventArgs.cs
- RangeBase.cs
- PersistenceProviderFactory.cs
- BevelBitmapEffect.cs
- ClientSettingsSection.cs
- StringConcat.cs
- DynamicILGenerator.cs
- PrimitiveType.cs
- PageAsyncTask.cs
- PolicyStatement.cs
- AjaxFrameworkAssemblyAttribute.cs
- DataGridViewRowHeaderCell.cs
- ValueSerializer.cs
- XamlWrapperReaders.cs
- HttpWebRequest.cs
- RectAnimation.cs
- SqlAggregateChecker.cs
- WebPartDescription.cs
- AbstractExpressions.cs
- WebMessageBodyStyleHelper.cs
- StyleConverter.cs
- DeploymentSectionCache.cs
- ValidationRuleCollection.cs
- EntityProviderServices.cs
- TextViewBase.cs
- webproxy.cs
- BreakRecordTable.cs
- CodeDefaultValueExpression.cs
- TemplatedMailWebEventProvider.cs
- PopupRoot.cs
- WebReferenceCollection.cs
- MultitargetingHelpers.cs
- Int32Converter.cs
- ToolStripItemTextRenderEventArgs.cs
- ObjectConverter.cs
- BamlRecordWriter.cs
- XmlNodeList.cs
- HttpCapabilitiesBase.cs
- StringBlob.cs
- SqlConnectionString.cs
- SqlCaseSimplifier.cs
- ASCIIEncoding.cs
- ObjectPersistData.cs
- InboundActivityHelper.cs
- InkPresenter.cs
- LineSegment.cs
- ObjectAssociationEndMapping.cs
- BooleanKeyFrameCollection.cs
- FilterRepeater.cs
- RuntimeWrappedException.cs
- WebPartsPersonalization.cs
- WinInet.cs
- cryptoapiTransform.cs
- BookmarkWorkItem.cs
- FirstMatchCodeGroup.cs
- BackStopAuthenticationModule.cs
- DefaultAssemblyResolver.cs
- MachineKeySection.cs
- ChildrenQuery.cs
- OleDbConnectionInternal.cs
- AlignmentYValidation.cs
- XmlWrappingReader.cs
- SimplePropertyEntry.cs
- shaperfactory.cs
- XPathExpr.cs
- MemoryMappedViewStream.cs
- GlyphRunDrawing.cs
- RowTypePropertyElement.cs
- isolationinterop.cs
- AnnotationHelper.cs
- PropertyTabChangedEvent.cs
- _TransmitFileOverlappedAsyncResult.cs
- VisualSerializer.cs
- WindowsFormsSynchronizationContext.cs
- XmlSerializer.cs
- SurrogateDataContract.cs
- UpdateInfo.cs
- TemplateBuilder.cs
- oledbconnectionstring.cs
- WebSysDisplayNameAttribute.cs
- View.cs
- InternalDuplexBindingElement.cs
- AuthenticationException.cs