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
- BitmapEffectDrawingContextWalker.cs
- SQLConvert.cs
- MimeMapping.cs
- ListItemCollection.cs
- DataServices.cs
- DES.cs
- ExternalDataExchangeClient.cs
- WorkflowClientDeliverMessageWrapper.cs
- DescendantOverDescendantQuery.cs
- ProgressBarRenderer.cs
- InvalidOperationException.cs
- FloatUtil.cs
- ResolvedKeyFrameEntry.cs
- DataGridCaption.cs
- HandlerWithFactory.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- GridViewRowEventArgs.cs
- ConsumerConnectionPointCollection.cs
- Application.cs
- CompilerCollection.cs
- XmlSchemaElement.cs
- StartUpEventArgs.cs
- FilteredDataSetHelper.cs
- PrePostDescendentsWalker.cs
- SystemIcmpV4Statistics.cs
- TraceHandlerErrorFormatter.cs
- ButtonFlatAdapter.cs
- SerializableAttribute.cs
- AuthenticateEventArgs.cs
- NamespaceCollection.cs
- ValueQuery.cs
- UInt32.cs
- NavigationPropertyEmitter.cs
- Int64AnimationUsingKeyFrames.cs
- RectangleGeometry.cs
- DescendentsWalker.cs
- AgileSafeNativeMemoryHandle.cs
- CaseCqlBlock.cs
- HtmlProps.cs
- Imaging.cs
- DiscoveryClientChannelBase.cs
- Walker.cs
- DynamicMethod.cs
- XmlChoiceIdentifierAttribute.cs
- DependencyProperty.cs
- AddingNewEventArgs.cs
- ImageDrawing.cs
- ReadOnlyDictionary.cs
- RequestStatusBarUpdateEventArgs.cs
- LocalizationParserHooks.cs
- DecoderReplacementFallback.cs
- BreadCrumbTextConverter.cs
- MTConfigUtil.cs
- WindowsTokenRoleProvider.cs
- ResetableIterator.cs
- XmlSchemaInclude.cs
- OutputCacheProfile.cs
- StructuredProperty.cs
- SMSvcHost.cs
- SQLGuidStorage.cs
- errorpatternmatcher.cs
- XmlSchemaComplexContent.cs
- ErrorTableItemStyle.cs
- BamlResourceContent.cs
- BindingList.cs
- UnicastIPAddressInformationCollection.cs
- Mappings.cs
- AsyncOperationManager.cs
- CodeGenerator.cs
- DoubleKeyFrameCollection.cs
- Metadata.cs
- HierarchicalDataBoundControl.cs
- SqlSupersetValidator.cs
- itemelement.cs
- TraceSwitch.cs
- TextEditorThreadLocalStore.cs
- DataTableReader.cs
- DataGridTableCollection.cs
- NameObjectCollectionBase.cs
- DataGridColumnFloatingHeader.cs
- SmtpSection.cs
- RtfToken.cs
- DebugView.cs
- NativeMethods.cs
- NavigatingCancelEventArgs.cs
- ObjectDataSourceFilteringEventArgs.cs
- BindingMAnagerBase.cs
- AddInEnvironment.cs
- AttributeCollection.cs
- HwndSubclass.cs
- ProtocolsConfigurationEntry.cs
- Symbol.cs
- XXXInfos.cs
- TryCatch.cs
- GeneralTransform3DCollection.cs
- DbParameterCollection.cs
- DirectionalLight.cs
- SelectionProcessor.cs
- TakeQueryOptionExpression.cs
- XXXOnTypeBuilderInstantiation.cs