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
- ControlPropertyNameConverter.cs
- CompensationDesigner.cs
- CryptographicAttribute.cs
- BitmapData.cs
- MediaPlayer.cs
- ComponentResourceKeyConverter.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- XmlSubtreeReader.cs
- PathFigureCollection.cs
- DocumentScope.cs
- NavigationProperty.cs
- SerializationHelper.cs
- TimeSpanValidatorAttribute.cs
- SendAgentStatusRequest.cs
- RightsManagementSuppressedStream.cs
- DataGridViewLinkCell.cs
- MouseBinding.cs
- WebPartEditorCancelVerb.cs
- WeakRefEnumerator.cs
- XmlEntity.cs
- FaultCode.cs
- EntityDataSourceUtil.cs
- XsltArgumentList.cs
- LongTypeConverter.cs
- TreeViewAutomationPeer.cs
- SHA256Managed.cs
- DocumentSequenceHighlightLayer.cs
- UnmanagedMarshal.cs
- WebServiceErrorEvent.cs
- OpacityConverter.cs
- EdmProperty.cs
- TagMapCollection.cs
- FontStyles.cs
- ParameterExpression.cs
- Native.cs
- SqlAliasesReferenced.cs
- MetadataCache.cs
- CrossAppDomainChannel.cs
- GenericAuthenticationEventArgs.cs
- DelegateTypeInfo.cs
- DeferrableContent.cs
- Application.cs
- ObjectContext.cs
- OletxEnlistment.cs
- MouseOverProperty.cs
- ConfigUtil.cs
- TabletCollection.cs
- WebServiceHostFactory.cs
- metadatamappinghashervisitor.cs
- AncillaryOps.cs
- XNodeValidator.cs
- VirtualDirectoryMappingCollection.cs
- EntityDataSourceDataSelectionPanel.designer.cs
- CryptoConfig.cs
- DataGridViewCellValidatingEventArgs.cs
- TypeSystemProvider.cs
- AnimatedTypeHelpers.cs
- Vector3DCollectionValueSerializer.cs
- FontStretchConverter.cs
- WebExceptionStatus.cs
- ToolBarButtonClickEvent.cs
- PasswordRecovery.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DisposableCollectionWrapper.cs
- TypeInformation.cs
- LinqToSqlWrapper.cs
- EnumerableCollectionView.cs
- StaticContext.cs
- DataControlLinkButton.cs
- HttpHandlerActionCollection.cs
- EndPoint.cs
- SimpleModelProvider.cs
- DefaultValueConverter.cs
- SourceChangedEventArgs.cs
- XmlSchemaImport.cs
- Matrix3DStack.cs
- TreeNodeCollectionEditor.cs
- SecurityHeaderLayout.cs
- Span.cs
- CollectionBase.cs
- JsonFormatGeneratorStatics.cs
- ProfileProvider.cs
- MemberAccessException.cs
- DesignerTransactionCloseEvent.cs
- WebPartAuthorizationEventArgs.cs
- ApplicationInfo.cs
- ObjectViewEntityCollectionData.cs
- RuntimeConfigurationRecord.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ChangePassword.cs
- BitStack.cs
- RewritingProcessor.cs
- CodeCompiler.cs
- DataGridItemAutomationPeer.cs
- HttpApplicationStateBase.cs
- DragDropHelper.cs
- PropertyFilterAttribute.cs
- FileSystemWatcher.cs
- UrlPath.cs
- DependencyProperty.cs