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
- ResXResourceWriter.cs
- ObjectItemCollection.cs
- KeysConverter.cs
- DelayLoadType.cs
- ToolStripItemClickedEventArgs.cs
- ToolStrip.cs
- ConfigXmlCDataSection.cs
- ParameterBuilder.cs
- ToolStripLabel.cs
- BaseTemplateParser.cs
- PresentationTraceSources.cs
- ScriptControlDescriptor.cs
- ScriptDescriptor.cs
- ExceptionValidationRule.cs
- SoapFormatterSinks.cs
- InputLanguageManager.cs
- SchemaImporterExtensionsSection.cs
- TextReader.cs
- CharStorage.cs
- UiaCoreProviderApi.cs
- DateTime.cs
- ActivationServices.cs
- DecoderExceptionFallback.cs
- DescendentsWalkerBase.cs
- FilteredAttributeCollection.cs
- ColumnMapTranslator.cs
- ComponentCollection.cs
- ContextInformation.cs
- LineSegment.cs
- ValidationEventArgs.cs
- RijndaelManagedTransform.cs
- ManagementQuery.cs
- FragmentQueryProcessor.cs
- DocumentPageHost.cs
- CodeMemberEvent.cs
- CharKeyFrameCollection.cs
- safemediahandle.cs
- PlatformNotSupportedException.cs
- CharEnumerator.cs
- HMACSHA512.cs
- DetailsViewInsertEventArgs.cs
- metadatamappinghashervisitor.cs
- InvalidAsynchronousStateException.cs
- DataList.cs
- Size.cs
- NestPullup.cs
- SocketPermission.cs
- ProxyWebPartConnectionCollection.cs
- XsltLibrary.cs
- SessionEndingCancelEventArgs.cs
- WindowsIPAddress.cs
- CompilerTypeWithParams.cs
- ReflectTypeDescriptionProvider.cs
- SubclassTypeValidator.cs
- XmlConvert.cs
- BooleanToVisibilityConverter.cs
- UIElementParagraph.cs
- Configuration.cs
- ManagementObjectCollection.cs
- processwaithandle.cs
- FlowDocument.cs
- DropAnimation.xaml.cs
- RequestQueryProcessor.cs
- SessionParameter.cs
- CompositeCollectionView.cs
- ControlValuePropertyAttribute.cs
- ConvertTextFrag.cs
- StringSource.cs
- PowerStatus.cs
- Rect.cs
- LinkedResourceCollection.cs
- EventManager.cs
- GPRECT.cs
- SqlFormatter.cs
- XamlSerializationHelper.cs
- SafePEFileHandle.cs
- XhtmlBasicLiteralTextAdapter.cs
- ProfileBuildProvider.cs
- SharedStatics.cs
- XslException.cs
- GroupAggregateExpr.cs
- ContainerControl.cs
- KoreanCalendar.cs
- ToolBar.cs
- GridItemPatternIdentifiers.cs
- SiteOfOriginContainer.cs
- BamlLocalizer.cs
- FixedPageStructure.cs
- Emitter.cs
- ThreadExceptionEvent.cs
- clipboard.cs
- FieldAccessException.cs
- path.cs
- updateconfighost.cs
- SoapHeader.cs
- ConfigXmlComment.cs
- DurationConverter.cs
- DataViewSettingCollection.cs
- NumericPagerField.cs
- WebContext.cs