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
- StylusPlugInCollection.cs
- RuntimeIdentifierPropertyAttribute.cs
- XmlUnspecifiedAttribute.cs
- ReflectPropertyDescriptor.cs
- SoapElementAttribute.cs
- MonitoringDescriptionAttribute.cs
- DataSvcMapFileSerializer.cs
- FunctionDetailsReader.cs
- SQLGuid.cs
- ValidatedControlConverter.cs
- BatchServiceHost.cs
- Atom10FormatterFactory.cs
- MarshalDirectiveException.cs
- Profiler.cs
- MexBindingElement.cs
- TextStore.cs
- PropertyChangeTracker.cs
- TypeNameConverter.cs
- SchemaElementLookUpTable.cs
- Normalizer.cs
- Base64Encoder.cs
- EventData.cs
- NullableFloatSumAggregationOperator.cs
- TokenBasedSetEnumerator.cs
- SmtpLoginAuthenticationModule.cs
- AuthenticationModulesSection.cs
- GatewayDefinition.cs
- ProcessHostConfigUtils.cs
- LinkedResourceCollection.cs
- SingleObjectCollection.cs
- Activator.cs
- Application.cs
- CommandHelpers.cs
- HandleCollector.cs
- UrlMappingsModule.cs
- ProtectedConfiguration.cs
- SafeReadContext.cs
- QueryProcessor.cs
- Ipv6Element.cs
- CacheHelper.cs
- StateMachineExecutionState.cs
- EmptyTextWriter.cs
- SymbolEqualComparer.cs
- HtmlHistory.cs
- SendMailErrorEventArgs.cs
- BinaryUtilClasses.cs
- PolyBezierSegment.cs
- WsatConfiguration.cs
- BinaryUtilClasses.cs
- Input.cs
- RegexWorker.cs
- GeometryCollection.cs
- HttpHandlerActionCollection.cs
- BigInt.cs
- TextSegment.cs
- TraceProvider.cs
- TaskExtensions.cs
- ListSourceHelper.cs
- _NtlmClient.cs
- CancelEventArgs.cs
- SQLCharsStorage.cs
- QuaternionAnimationBase.cs
- ColumnResizeUndoUnit.cs
- DataDocumentXPathNavigator.cs
- DefaultValueAttribute.cs
- diagnosticsswitches.cs
- ClrProviderManifest.cs
- UInt32Converter.cs
- DropShadowEffect.cs
- PublisherMembershipCondition.cs
- XmlSchemaExporter.cs
- DataListCommandEventArgs.cs
- TypeExtension.cs
- LightweightCodeGenerator.cs
- FreeFormDesigner.cs
- MenuEventArgs.cs
- PerformanceCounterPermission.cs
- ZipIOLocalFileDataDescriptor.cs
- PrinterUnitConvert.cs
- OperationInvokerBehavior.cs
- HyperlinkAutomationPeer.cs
- _SslSessionsCache.cs
- RegisteredArrayDeclaration.cs
- PropertySourceInfo.cs
- DocumentAutomationPeer.cs
- ThreadPool.cs
- MembershipPasswordException.cs
- Missing.cs
- X509Chain.cs
- SqlReferenceCollection.cs
- DataGridItem.cs
- AuthenticationException.cs
- TextEndOfParagraph.cs
- WebPartCatalogCloseVerb.cs
- FixedTextPointer.cs
- ExpressionBuilder.cs
- ProxyManager.cs
- NameTable.cs
- TransactionProtocol.cs
- ContextDataSource.cs