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
- sqlnorm.cs
- RadioButtonList.cs
- ServiceDescriptionSerializer.cs
- TextCompositionManager.cs
- SchemaHelper.cs
- WebPartMenu.cs
- ClrProviderManifest.cs
- CustomTrackingQuery.cs
- BuildResult.cs
- DataTableReader.cs
- ProfileEventArgs.cs
- Label.cs
- TypeBinaryExpression.cs
- SmtpDateTime.cs
- CollectionViewGroupInternal.cs
- OleDbPermission.cs
- RequestTimeoutManager.cs
- XmlSignatureProperties.cs
- FrameworkElementAutomationPeer.cs
- HandlerBase.cs
- RuntimeConfigurationRecord.cs
- SQLStringStorage.cs
- CachingHintValidation.cs
- SqlConnectionString.cs
- ConstructorArgumentAttribute.cs
- WebPartConnectionsEventArgs.cs
- MemberDomainMap.cs
- Permission.cs
- LinqDataSourceDeleteEventArgs.cs
- RenderDataDrawingContext.cs
- SchemaSetCompiler.cs
- Int16Converter.cs
- QueryBranchOp.cs
- ElementAction.cs
- PersonalizationStateInfoCollection.cs
- DurableOperationAttribute.cs
- ConsoleTraceListener.cs
- ELinqQueryState.cs
- DataServiceClientException.cs
- SmtpLoginAuthenticationModule.cs
- Validator.cs
- XmlEventCache.cs
- PrefixQName.cs
- BasicViewGenerator.cs
- JapaneseLunisolarCalendar.cs
- OfTypeExpression.cs
- DeferredBinaryDeserializerExtension.cs
- ProcessHostServerConfig.cs
- ThreadInterruptedException.cs
- DrawToolTipEventArgs.cs
- GPPOINT.cs
- XmlFormatExtensionPrefixAttribute.cs
- ValueQuery.cs
- TrustManagerPromptUI.cs
- Resources.Designer.cs
- ImageMapEventArgs.cs
- FlowDocument.cs
- Int32Storage.cs
- WebPartDescriptionCollection.cs
- CodeAttributeArgumentCollection.cs
- FirstMatchCodeGroup.cs
- ScrollProviderWrapper.cs
- CatalogPartChrome.cs
- CompilerResults.cs
- CapabilitiesPattern.cs
- MobileErrorInfo.cs
- RepeaterCommandEventArgs.cs
- VersionedStreamOwner.cs
- TableLayoutPanelCodeDomSerializer.cs
- CodeIdentifiers.cs
- XmlDigitalSignatureProcessor.cs
- XPathScanner.cs
- BamlResourceDeserializer.cs
- SafeCryptoHandles.cs
- QuotedPairReader.cs
- DictionaryContent.cs
- PrintEvent.cs
- PackageController.cs
- SizeAnimationUsingKeyFrames.cs
- SoapWriter.cs
- compensatingcollection.cs
- SHA1.cs
- WeakRefEnumerator.cs
- EventSchemaTraceListener.cs
- URI.cs
- SchemaMerger.cs
- BufferedGraphics.cs
- XamlStackWriter.cs
- AttributeCollection.cs
- CompositeActivityMarkupSerializer.cs
- OracleInfoMessageEventArgs.cs
- ViewPort3D.cs
- TextSerializer.cs
- MethodCallTranslator.cs
- GeneralTransform3DCollection.cs
- XmlValueConverter.cs
- UserMapPath.cs
- SinglePageViewer.cs
- ZoomingMessageFilter.cs
- GuidConverter.cs