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
- ApplicationContext.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- MainMenu.cs
- _ListenerRequestStream.cs
- DataTable.cs
- String.cs
- PixelShader.cs
- Glyph.cs
- AlternateView.cs
- Point3DValueSerializer.cs
- DrawingImage.cs
- InvokePattern.cs
- HashCodeCombiner.cs
- SchemaAttDef.cs
- SystemWebCachingSectionGroup.cs
- PairComparer.cs
- ResourceManager.cs
- RegexGroup.cs
- ColorDialog.cs
- WebBrowserNavigatedEventHandler.cs
- DataGridViewImageCell.cs
- CallId.cs
- ConfigurationManagerInternalFactory.cs
- CompilerGeneratedAttribute.cs
- XmlWellformedWriter.cs
- SingleSelectRootGridEntry.cs
- PeerName.cs
- FormCollection.cs
- SecurityUtils.cs
- SqlMethodTransformer.cs
- AffineTransform3D.cs
- ScrollProviderWrapper.cs
- SmtpFailedRecipientsException.cs
- StoreContentChangedEventArgs.cs
- ConfigurationSectionCollection.cs
- AudioFormatConverter.cs
- _AutoWebProxyScriptWrapper.cs
- PageRequestManager.cs
- GridViewHeaderRowPresenter.cs
- StringDictionary.cs
- DataGridViewComboBoxCell.cs
- SafeRegistryHandle.cs
- BaseProcessProtocolHandler.cs
- InvalidOperationException.cs
- FixedPageProcessor.cs
- XPathAxisIterator.cs
- DetailsViewModeEventArgs.cs
- TableLayoutPanelCellPosition.cs
- XmlWellformedWriter.cs
- CompilerTypeWithParams.cs
- SubstitutionResponseElement.cs
- OracleParameter.cs
- PointConverter.cs
- EventMap.cs
- StateValidator.cs
- UserControl.cs
- Context.cs
- FileRecordSequenceHelper.cs
- DataBoundControlHelper.cs
- RewritingSimplifier.cs
- ValidationError.cs
- DependencyProperty.cs
- ConfigurationConverterBase.cs
- WebPartTransformerCollection.cs
- VirtualPath.cs
- RangeValuePattern.cs
- FontSourceCollection.cs
- ServiceOperationParameter.cs
- Material.cs
- FileReader.cs
- GridViewRowPresenter.cs
- DatagridviewDisplayedBandsData.cs
- EnumConverter.cs
- XmlRawWriter.cs
- GetRecipientRequest.cs
- _ListenerAsyncResult.cs
- ResourceDisplayNameAttribute.cs
- PixelShader.cs
- FixedBufferAttribute.cs
- WebPartDescription.cs
- Mappings.cs
- VerticalAlignConverter.cs
- IdnMapping.cs
- XmlNotation.cs
- ServiceReference.cs
- SByteConverter.cs
- HtmlHistory.cs
- ToolStrip.cs
- XmlTextEncoder.cs
- SqlGatherConsumedAliases.cs
- RSAPKCS1SignatureFormatter.cs
- DocumentSequenceHighlightLayer.cs
- Monitor.cs
- HostedElements.cs
- ColumnPropertiesGroup.cs
- TextEditorSelection.cs
- ResetableIterator.cs
- CharConverter.cs
- File.cs
- DecimalKeyFrameCollection.cs