Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / KeyboardEventArgs.cs / 1305600 / 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
- DataGridViewAdvancedBorderStyle.cs
- MimeTypePropertyAttribute.cs
- sqlmetadatafactory.cs
- ConsumerConnectionPointCollection.cs
- EFColumnProvider.cs
- milexports.cs
- Maps.cs
- ImportCatalogPart.cs
- GlobalProxySelection.cs
- BStrWrapper.cs
- CodeBlockBuilder.cs
- RichListBox.cs
- FormViewModeEventArgs.cs
- ConstraintStruct.cs
- EastAsianLunisolarCalendar.cs
- XmlElementList.cs
- TextChange.cs
- DoubleStorage.cs
- BinaryConverter.cs
- Frame.cs
- FunctionNode.cs
- IDataContractSurrogate.cs
- ExpandSegmentCollection.cs
- MarkupProperty.cs
- DataGridViewLinkColumn.cs
- OptionalMessageQuery.cs
- mda.cs
- BamlCollectionHolder.cs
- OperatingSystem.cs
- StringFreezingAttribute.cs
- BuildResultCache.cs
- DataSourceControl.cs
- MarshalByValueComponent.cs
- TdsParameterSetter.cs
- DiscoveryInnerClientAdhoc11.cs
- GlyphsSerializer.cs
- SmiMetaData.cs
- SoapHeader.cs
- ReadOnlyHierarchicalDataSourceView.cs
- FloaterBaseParaClient.cs
- SingleAnimationBase.cs
- WbmpConverter.cs
- _UriTypeConverter.cs
- FormView.cs
- RC2CryptoServiceProvider.cs
- initElementDictionary.cs
- NativeMethods.cs
- GroupBoxDesigner.cs
- ComboBox.cs
- Bits.cs
- HMACMD5.cs
- Site.cs
- XmlTypeAttribute.cs
- Point.cs
- AutomationProperties.cs
- XmlDataDocument.cs
- WebPartMenu.cs
- RuntimeCompatibilityAttribute.cs
- RowToFieldTransformer.cs
- RangeValidator.cs
- StrokeSerializer.cs
- ServiceObjectContainer.cs
- SqlAliasesReferenced.cs
- XPathDocumentBuilder.cs
- ScriptingWebServicesSectionGroup.cs
- GeneralTransform.cs
- HtmlEncodedRawTextWriter.cs
- FileDialog.cs
- SortExpressionBuilder.cs
- AnimatedTypeHelpers.cs
- PathFigureCollection.cs
- StringCollection.cs
- SQLStringStorage.cs
- unitconverter.cs
- XmlIlGenerator.cs
- AssemblyFilter.cs
- OdbcConnectionFactory.cs
- CodeCommentStatement.cs
- WebPartsPersonalization.cs
- XPathNodeInfoAtom.cs
- ScriptReferenceBase.cs
- ListViewInsertedEventArgs.cs
- InvalidStoreProtectionKeyException.cs
- WebPartConnectionsCancelVerb.cs
- EntityProviderFactory.cs
- SafeBitVector32.cs
- EndpointInstanceProvider.cs
- BaseTemplateCodeDomTreeGenerator.cs
- FileDetails.cs
- AudioStateChangedEventArgs.cs
- mediaeventargs.cs
- File.cs
- TransportContext.cs
- ObjRef.cs
- DataSetMappper.cs
- StrokeNodeData.cs
- ComponentCollection.cs
- FontConverter.cs
- DataSourceControl.cs
- WebPartVerbsEventArgs.cs