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
- CollectionsUtil.cs
- BreakRecordTable.cs
- DataTableReader.cs
- JulianCalendar.cs
- PolicyException.cs
- SystemGatewayIPAddressInformation.cs
- NamespaceMapping.cs
- SchemaTableOptionalColumn.cs
- ProbeMatchesApril2005.cs
- TypeBuilder.cs
- TraversalRequest.cs
- UnionQueryOperator.cs
- Inflater.cs
- IisTraceWebEventProvider.cs
- MissingMethodException.cs
- ModuleBuilder.cs
- ShaderEffect.cs
- NgenServicingAttributes.cs
- SocketException.cs
- XamlPathDataSerializer.cs
- FocusChangedEventArgs.cs
- TextFormatterContext.cs
- ProcessModule.cs
- PhysicalAddress.cs
- StructuralCache.cs
- InputLanguageSource.cs
- TextControl.cs
- DataRelationPropertyDescriptor.cs
- FormsAuthenticationModule.cs
- TimeZoneNotFoundException.cs
- DataGridPagerStyle.cs
- CircleHotSpot.cs
- MessageBox.cs
- IncrementalCompileAnalyzer.cs
- Rect3D.cs
- CngProperty.cs
- DataGridToolTip.cs
- GradientStop.cs
- BaseTransportHeaders.cs
- EntityDataSourceChangingEventArgs.cs
- SystemFonts.cs
- ListContractAdapter.cs
- SimpleWorkerRequest.cs
- TransactionChannelListener.cs
- CompilerParameters.cs
- ListComponentEditor.cs
- DesignerEditorPartChrome.cs
- ValueConversionAttribute.cs
- SecurityPolicyVersion.cs
- PersonalizableTypeEntry.cs
- OrderedDictionary.cs
- DataFieldConverter.cs
- AssertFilter.cs
- CoTaskMemHandle.cs
- Activity.cs
- PlatformCulture.cs
- ReliabilityContractAttribute.cs
- ButtonColumn.cs
- BlobPersonalizationState.cs
- Base64Encoding.cs
- _BasicClient.cs
- FolderBrowserDialog.cs
- PersonalizationStateInfo.cs
- HttpCacheVary.cs
- XmlNullResolver.cs
- ArrayList.cs
- TextRunProperties.cs
- QilFunction.cs
- SessionStateContainer.cs
- DbDataSourceEnumerator.cs
- TargetControlTypeAttribute.cs
- Pen.cs
- EllipseGeometry.cs
- SourceSwitch.cs
- PropertyTab.cs
- EDesignUtil.cs
- DocumentSchemaValidator.cs
- ContainerCodeDomSerializer.cs
- TextContainer.cs
- DispatcherExceptionEventArgs.cs
- ProgramPublisher.cs
- ExpressionWriter.cs
- AppDomainShutdownMonitor.cs
- shaperfactoryquerycachekey.cs
- MimeReturn.cs
- User.cs
- AttributeEmitter.cs
- UnsafeNativeMethods.cs
- TreeViewHitTestInfo.cs
- SqlBuilder.cs
- BaseTemplateBuildProvider.cs
- TrackPoint.cs
- SelectionRangeConverter.cs
- WebPartUserCapability.cs
- InternalRelationshipCollection.cs
- CurrencyManager.cs
- SafeBitVector32.cs
- X509Certificate2.cs
- sqlmetadatafactory.cs
- WorkflowInstanceRecord.cs