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
- DispatcherHookEventArgs.cs
- Marshal.cs
- AnonymousIdentificationModule.cs
- EntitySqlQueryCacheEntry.cs
- DbProviderFactories.cs
- Geometry3D.cs
- CustomTypeDescriptor.cs
- UpdateCommand.cs
- MultiBinding.cs
- NetworkStream.cs
- CodeTypeReferenceCollection.cs
- CompilerErrorCollection.cs
- Vector3DValueSerializer.cs
- SharedPersonalizationStateInfo.cs
- ConditionChanges.cs
- TimeStampChecker.cs
- Gdiplus.cs
- ApplicationTrust.cs
- RoutedEventHandlerInfo.cs
- ProjectedSlot.cs
- UnSafeCharBuffer.cs
- Model3DGroup.cs
- FixedTextPointer.cs
- HtmlImage.cs
- PeerCredentialElement.cs
- NamespaceEmitter.cs
- SafeThreadHandle.cs
- HttpGetServerProtocol.cs
- LocalBuilder.cs
- XmlTextAttribute.cs
- DataControlFieldCell.cs
- ISAPIWorkerRequest.cs
- SchemaImporterExtensionElementCollection.cs
- EmptyEnumerator.cs
- AssemblyInfo.cs
- XmlTextReaderImpl.cs
- DbTransaction.cs
- NewArray.cs
- OdbcErrorCollection.cs
- DefaultBindingPropertyAttribute.cs
- FixedSOMLineCollection.cs
- BinaryObjectReader.cs
- CompensationToken.cs
- UriTemplateTableMatchCandidate.cs
- ListControl.cs
- UnsafeNativeMethods.cs
- Dump.cs
- HttpEncoderUtility.cs
- VectorCollection.cs
- HttpWebRequestElement.cs
- ObjectDataSourceMethodEventArgs.cs
- DocumentPageTextView.cs
- EntityRecordInfo.cs
- ConstraintConverter.cs
- NullableFloatSumAggregationOperator.cs
- CheckedPointers.cs
- SynchronizedMessageSource.cs
- PatternMatcher.cs
- CodeTypeReferenceCollection.cs
- CodeArrayIndexerExpression.cs
- DesignSurface.cs
- DateTimeStorage.cs
- ViewManager.cs
- TableItemPattern.cs
- VisualStyleInformation.cs
- DataTableNameHandler.cs
- ProcessHostFactoryHelper.cs
- KoreanLunisolarCalendar.cs
- EventSetter.cs
- XmlIlGenerator.cs
- DataGridColumnHeadersPresenter.cs
- WindowsFormsHost.cs
- QuaternionKeyFrameCollection.cs
- CreateRefExpr.cs
- InputMethodStateChangeEventArgs.cs
- SecurityUtils.cs
- ArrangedElementCollection.cs
- ScrollViewer.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ImageListStreamer.cs
- StylusOverProperty.cs
- EventData.cs
- DispatchWrapper.cs
- Bezier.cs
- dataobject.cs
- FlowLayoutPanel.cs
- TextCharacters.cs
- _AutoWebProxyScriptEngine.cs
- DateTimeUtil.cs
- XmlSerializerVersionAttribute.cs
- Restrictions.cs
- XmlAnyElementAttributes.cs
- XPathParser.cs
- HttpProcessUtility.cs
- Rect.cs
- LongPath.cs
- Rotation3DKeyFrameCollection.cs
- WebAdminConfigurationHelper.cs
- MessageSmuggler.cs
- BidOverLoads.cs