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
- FaultDescriptionCollection.cs
- DataViewSettingCollection.cs
- OleDbWrapper.cs
- WsdlImporter.cs
- ProjectionPruner.cs
- SqlNamer.cs
- OuterProxyWrapper.cs
- BuildResult.cs
- SchemaMerger.cs
- XmlValueConverter.cs
- TextRunProperties.cs
- Tile.cs
- DataGridViewCellCollection.cs
- indexingfiltermarshaler.cs
- PropertyChangingEventArgs.cs
- ElementInit.cs
- XmlReturnWriter.cs
- ReflectionPermission.cs
- DataKeyCollection.cs
- DataGridViewCell.cs
- CompositeCollection.cs
- PersonalizationStateInfo.cs
- StylusLogic.cs
- SqlCrossApplyToCrossJoin.cs
- MdiWindowListItemConverter.cs
- CrossContextChannel.cs
- Ref.cs
- DataGridGeneralPage.cs
- RtfControls.cs
- StringExpressionSet.cs
- WinEventQueueItem.cs
- SystemException.cs
- RotateTransform3D.cs
- DispatcherFrame.cs
- DataBoundControl.cs
- WpfPayload.cs
- PermissionSetTriple.cs
- BaseTypeViewSchema.cs
- CubicEase.cs
- SafeRegistryKey.cs
- TypeExtensionConverter.cs
- Sql8ConformanceChecker.cs
- XPathSelfQuery.cs
- WmlTextViewAdapter.cs
- hresults.cs
- FixedTextView.cs
- HierarchicalDataSourceControl.cs
- DateTimeConstantAttribute.cs
- hwndwrapper.cs
- SafeIUnknown.cs
- GenericEnumerator.cs
- AutoGeneratedFieldProperties.cs
- PassportPrincipal.cs
- ByteAnimationUsingKeyFrames.cs
- KnownTypes.cs
- JournalEntryListConverter.cs
- RecordConverter.cs
- MimeImporter.cs
- WorkflowNamespace.cs
- PublisherIdentityPermission.cs
- RecognizedWordUnit.cs
- ModifyActivitiesPropertyDescriptor.cs
- SerialPort.cs
- TraceXPathNavigator.cs
- DiscoveryDocumentReference.cs
- ViewGenerator.cs
- AssemblyAssociatedContentFileAttribute.cs
- TdsRecordBufferSetter.cs
- TrimSurroundingWhitespaceAttribute.cs
- PartialTrustHelpers.cs
- OperationAbortedException.cs
- CompositeScriptReference.cs
- DesignerVerb.cs
- IPAddress.cs
- MobileControlsSectionHelper.cs
- RewritingProcessor.cs
- SchemaConstraints.cs
- TrackingServices.cs
- IISMapPath.cs
- XsltQilFactory.cs
- PathGradientBrush.cs
- WorkflowControlEndpoint.cs
- DataShape.cs
- EntityCommand.cs
- LZCodec.cs
- DataGridViewCellCancelEventArgs.cs
- ThemeDirectoryCompiler.cs
- BooleanSwitch.cs
- GridViewColumnHeaderAutomationPeer.cs
- DoubleConverter.cs
- CornerRadius.cs
- BamlRecordReader.cs
- EastAsianLunisolarCalendar.cs
- OdbcInfoMessageEvent.cs
- ByteAnimation.cs
- HttpDictionary.cs
- Activator.cs
- ParserStack.cs
- HttpRuntime.cs
- webbrowsersite.cs