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
- RunClient.cs
- XsltException.cs
- SmiEventStream.cs
- NullableDecimalAverageAggregationOperator.cs
- HtmlSelect.cs
- DashStyle.cs
- LongValidatorAttribute.cs
- PeerFlooder.cs
- ChameleonKey.cs
- TabletDevice.cs
- XsltInput.cs
- itemelement.cs
- HtmlInputImage.cs
- HierarchicalDataTemplate.cs
- MiniConstructorInfo.cs
- ReadOnlyCollectionBase.cs
- UnionCqlBlock.cs
- SwitchElementsCollection.cs
- COM2PropertyBuilderUITypeEditor.cs
- VisualProxy.cs
- ResXBuildProvider.cs
- WindowAutomationPeer.cs
- streamingZipPartStream.cs
- WorkflowTransactionOptions.cs
- XamlSerializerUtil.cs
- ClientEventManager.cs
- AmbientProperties.cs
- DataSourceControl.cs
- MonitorWrapper.cs
- CurrentTimeZone.cs
- SourceFileInfo.cs
- MiniParameterInfo.cs
- UITypeEditors.cs
- Internal.cs
- Descriptor.cs
- ValidationResults.cs
- PeerNameResolver.cs
- FrugalList.cs
- SafeSecurityHandles.cs
- GridViewDeletedEventArgs.cs
- XmlSerializableReader.cs
- ProcessingInstructionAction.cs
- BitmapSizeOptions.cs
- FileSystemWatcher.cs
- ProtocolsConfiguration.cs
- EntityDataSourceQueryBuilder.cs
- Menu.cs
- Hyperlink.cs
- RotateTransform.cs
- HttpServerProtocol.cs
- StateBag.cs
- CategoryEditor.cs
- FileDialog_Vista_Interop.cs
- ButtonChrome.cs
- Scheduler.cs
- PersonalizationAdministration.cs
- ThreadInterruptedException.cs
- BaseProcessProtocolHandler.cs
- _ChunkParse.cs
- ToggleButtonAutomationPeer.cs
- IChannel.cs
- DbExpressionVisitor.cs
- PackagePart.cs
- PropertyMetadata.cs
- CodeThrowExceptionStatement.cs
- UnsafeNativeMethods.cs
- CollectionChangeEventArgs.cs
- CustomErrorCollection.cs
- ScriptingJsonSerializationSection.cs
- IdentityModelDictionary.cs
- SupportsEventValidationAttribute.cs
- ProvideValueServiceProvider.cs
- HtmlSelect.cs
- SAPIEngineTypes.cs
- CommandDevice.cs
- SmiRequestExecutor.cs
- SqlBuffer.cs
- StaticFileHandler.cs
- RawStylusInputCustomData.cs
- ProgressBar.cs
- XmlBinaryReaderSession.cs
- ToolbarAUtomationPeer.cs
- InternalConfigHost.cs
- ButtonBase.cs
- XmlProcessingInstruction.cs
- TemplatedMailWebEventProvider.cs
- UnicodeEncoding.cs
- StyleBamlTreeBuilder.cs
- messageonlyhwndwrapper.cs
- IndentedTextWriter.cs
- FormsAuthenticationCredentials.cs
- XmlProcessingInstruction.cs
- HandlerBase.cs
- ModuleBuilder.cs
- AuthenticationSection.cs
- ToolTipService.cs
- TypeLibConverter.cs
- _StreamFramer.cs
- SerializationHelper.cs
- TimeSpanMinutesConverter.cs