Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / KeyboardEventArgs.cs / 1 / KeyboardEventArgs.cs
using System; namespace System.Windows.Input { ////// The KeyboardEventArgs class provides access to the logical /// pointer device for all derived event args. /// ///public class KeyboardEventArgs : InputEventArgs { /// /// Initializes a new instance of the KeyboardEventArgs class. /// /// /// The logical keyboard device associated with this event. /// /// /// The time when the input occured. /// public KeyboardEventArgs(KeyboardDevice keyboard, int timestamp) : base(keyboard, timestamp) { } ////// Read-only access to the logical keyboard device associated with /// this event. /// public KeyboardDevice KeyboardDevice { get {return (KeyboardDevice) this.Device;} } ////// The mechanism used to call the type-specific handler on the /// target. /// /// /// The generic handler to call in a type-specific way. /// /// /// The target to call the handler on. /// ///protected override void InvokeEventHandler(Delegate genericHandler, object genericTarget) { KeyboardEventHandler handler = (KeyboardEventHandler) genericHandler; handler(genericTarget, this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyInformation.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ImageMap.cs
- AdjustableArrowCap.cs
- HtmlToClrEventProxy.cs
- TextLineBreak.cs
- CodeTypeOfExpression.cs
- FixedSchema.cs
- EditorPart.cs
- XmlSchemaSequence.cs
- PrivilegedConfigurationManager.cs
- Part.cs
- SafeHandle.cs
- SendSecurityHeaderElement.cs
- QueueProcessor.cs
- SessionPageStateSection.cs
- BidOverLoads.cs
- FixedElement.cs
- WpfSharedBamlSchemaContext.cs
- BinaryKeyIdentifierClause.cs
- TimeStampChecker.cs
- XmlReflectionImporter.cs
- Pts.cs
- TreeViewEvent.cs
- StructuredProperty.cs
- ViewBox.cs
- TagMapInfo.cs
- AppDomainAttributes.cs
- XMLUtil.cs
- UnsafeNativeMethods.cs
- Separator.cs
- XslAstAnalyzer.cs
- HttpListenerResponse.cs
- UrlAuthFailureHandler.cs
- Section.cs
- MetadataCache.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ItemType.cs
- StringDictionaryWithComparer.cs
- UpdatePanel.cs
- SystemResourceHost.cs
- InfoCardMetadataExchangeClient.cs
- DynamicILGenerator.cs
- HtmlInputHidden.cs
- NativeMethods.cs
- SHA384Managed.cs
- NumberFunctions.cs
- FormViewInsertEventArgs.cs
- AspNetHostingPermission.cs
- InvalidWMPVersionException.cs
- SoapTypeAttribute.cs
- ClockGroup.cs
- SchemaMapping.cs
- DataTableReaderListener.cs
- PrintDialog.cs
- ObjectSet.cs
- SqlUtils.cs
- LinqDataSource.cs
- ApplicationSecurityInfo.cs
- PropertyMetadata.cs
- ListenerPerfCounters.cs
- base64Transforms.cs
- ScalarOps.cs
- XsdDuration.cs
- BinaryMethodMessage.cs
- PathFigure.cs
- TransformedBitmap.cs
- XPathChildIterator.cs
- GifBitmapEncoder.cs
- XmlObjectSerializerReadContext.cs
- ListViewInsertEventArgs.cs
- TextDataBindingHandler.cs
- Message.cs
- XmlStreamStore.cs
- ConstructorNeedsTagAttribute.cs
- SoapIncludeAttribute.cs
- MailAddressCollection.cs
- BaseCodePageEncoding.cs
- DbProviderFactory.cs
- HttpDictionary.cs
- AttachmentCollection.cs
- Int32CollectionValueSerializer.cs
- FormView.cs
- CheckPair.cs
- StoryFragments.cs
- CommandDevice.cs
- ActivityTypeCodeDomSerializer.cs
- InfoCardMetadataExchangeClient.cs
- GifBitmapDecoder.cs
- TdsParserSessionPool.cs
- TextParagraphProperties.cs
- SystemColors.cs
- HostExecutionContextManager.cs
- WebScriptClientGenerator.cs
- CapabilitiesPattern.cs
- RuleSettingsCollection.cs
- ToolStripItemCollection.cs
- ConnectionStringsSection.cs
- CustomLineCap.cs
- AttributedMetaModel.cs