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
- Rules.cs
- EncryptedPackageFilter.cs
- ExpressionDumper.cs
- XsdBuildProvider.cs
- CellParaClient.cs
- ApplyImportsAction.cs
- BaseDataList.cs
- Constant.cs
- ValidationRuleCollection.cs
- ModelTreeEnumerator.cs
- SQLBoolean.cs
- UpDownBase.cs
- IndexedGlyphRun.cs
- XmlQueryContext.cs
- CommandHelpers.cs
- PixelShader.cs
- DataControlField.cs
- ThreadSafeList.cs
- dataobject.cs
- DesignerToolboxInfo.cs
- SqlGenericUtil.cs
- BezierSegment.cs
- Composition.cs
- WebHttpSecurityElement.cs
- InheritanceContextHelper.cs
- StorageEndPropertyMapping.cs
- JoinCqlBlock.cs
- VSWCFServiceContractGenerator.cs
- HttpWriter.cs
- Pool.cs
- COMException.cs
- XmlCDATASection.cs
- FullTextLine.cs
- RequestBringIntoViewEventArgs.cs
- SymDocumentType.cs
- ListBindingHelper.cs
- SqlFormatter.cs
- TraceSection.cs
- SmiSettersStream.cs
- DesignRelation.cs
- FileStream.cs
- NGCSerializationManagerAsync.cs
- WindowsListViewScroll.cs
- DocumentViewerAutomationPeer.cs
- sortedlist.cs
- GridItemProviderWrapper.cs
- RenderingEventArgs.cs
- OrderedDictionaryStateHelper.cs
- Clause.cs
- Utils.cs
- DataDocumentXPathNavigator.cs
- ObsoleteAttribute.cs
- BaseCodePageEncoding.cs
- SafeFileMappingHandle.cs
- ObjectPersistData.cs
- Oci.cs
- SecurityIdentifierElement.cs
- SrgsSemanticInterpretationTag.cs
- TheQuery.cs
- DbConnectionClosed.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ExcCanonicalXml.cs
- EncryptedKey.cs
- BufferedStream2.cs
- DataSourceXmlElementAttribute.cs
- Annotation.cs
- DesignTimeSiteMapProvider.cs
- CopyNodeSetAction.cs
- CanonicalFormWriter.cs
- IBuiltInEvidence.cs
- DeviceContext.cs
- SqlStream.cs
- DtrList.cs
- Double.cs
- BitmapEffect.cs
- SqlConnectionStringBuilder.cs
- IndexingContentUnit.cs
- TagPrefixCollection.cs
- _ProxyChain.cs
- SystemWebCachingSectionGroup.cs
- FloaterBaseParagraph.cs
- ProviderConnectionPoint.cs
- SystemIPGlobalProperties.cs
- ResolveNextArgumentWorkItem.cs
- MetadataArtifactLoaderCompositeFile.cs
- RequestBringIntoViewEventArgs.cs
- PolyLineSegmentFigureLogic.cs
- ExceptionUtil.cs
- SQLMoneyStorage.cs
- ListView.cs
- ConnectionPoolManager.cs
- StackSpiller.Bindings.cs
- ReadOnlyCollectionBase.cs
- SqlDataSourceSelectingEventArgs.cs
- SwitchElementsCollection.cs
- HwndKeyboardInputProvider.cs
- XamlGridLengthSerializer.cs
- CheckBoxAutomationPeer.cs
- NetCodeGroup.cs
- ParserOptions.cs