Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / InputReportEventArgs.cs / 1 / InputReportEventArgs.cs
using System; using MS.Internal.PresentationCore; namespace System.Windows.Input { ////// The InputReportEventArgs class contains information about an input /// report that is being processed. /// [FriendAccessAllowed] internal class InputReportEventArgs : InputEventArgs { ////// Initializes a new instance of the InputReportEventArgs class. /// /// /// The input device to associate this input with. /// /// /// The input report being processed. /// public InputReportEventArgs(InputDevice inputDevice, InputReport report) : base(inputDevice, ((report != null) ? report.Timestamp : -1)) { if (report == null) throw new ArgumentNullException("report"); _report = report; } ////// Read-only access to the input report being processed. /// public InputReport Report { get {return _report;} } ////// 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) { InputReportEventHandler handler = (InputReportEventHandler) genericHandler; handler(genericTarget, this); } private InputReport _report; } } // 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
- TimeSpanSecondsOrInfiniteConverter.cs
- EncryptedXml.cs
- TableLayoutCellPaintEventArgs.cs
- ScrollItemPattern.cs
- PeerNameRecordCollection.cs
- BamlMapTable.cs
- ScaleTransform3D.cs
- RepeatButtonAutomationPeer.cs
- DataObjectCopyingEventArgs.cs
- _ProxyChain.cs
- UndoEngine.cs
- ServicesUtilities.cs
- wgx_exports.cs
- TCPListener.cs
- GenericXmlSecurityToken.cs
- M3DUtil.cs
- ReadContentAsBinaryHelper.cs
- DebugHandleTracker.cs
- DataServiceRequestException.cs
- NativeMethods.cs
- OleDbConnectionInternal.cs
- Deserializer.cs
- PersonalizationStateInfoCollection.cs
- ImageMapEventArgs.cs
- FunctionImportMapping.cs
- Vector3D.cs
- PropertyCollection.cs
- ComponentEvent.cs
- OleDbTransaction.cs
- ListViewItem.cs
- DragCompletedEventArgs.cs
- QuadraticBezierSegment.cs
- ObjectView.cs
- AutoResizedEvent.cs
- InternalTypeHelper.cs
- AsyncWaitHandle.cs
- MultiSelectRootGridEntry.cs
- ColorEditor.cs
- LoginCancelEventArgs.cs
- ValidationSummary.cs
- TextDecoration.cs
- CSharpCodeProvider.cs
- InvalidateEvent.cs
- ArraySegment.cs
- SiteMapSection.cs
- ExpandCollapseProviderWrapper.cs
- ManagementObjectSearcher.cs
- MatrixConverter.cs
- OdbcUtils.cs
- Util.cs
- TabControl.cs
- MediaElement.cs
- Stylus.cs
- _NtlmClient.cs
- CursorConverter.cs
- SchemaEntity.cs
- XsdBuilder.cs
- ComplusEndpointConfigContainer.cs
- HttpWebResponse.cs
- Attributes.cs
- XmlConverter.cs
- SkewTransform.cs
- OrderByLifter.cs
- SafeTokenHandle.cs
- Rights.cs
- ConfigPathUtility.cs
- XmlBufferReader.cs
- ProgressBarAutomationPeer.cs
- QualificationDataItem.cs
- GridView.cs
- ThicknessAnimationUsingKeyFrames.cs
- GestureRecognizer.cs
- TextSearch.cs
- SQLDouble.cs
- ConnectionProviderAttribute.cs
- HostedHttpContext.cs
- MachineSettingsSection.cs
- MenuCommandsChangedEventArgs.cs
- CriticalHandle.cs
- BuildProvidersCompiler.cs
- ApplicationCommands.cs
- ValidationRule.cs
- VerificationAttribute.cs
- WindowsListView.cs
- RegisteredExpandoAttribute.cs
- EntityDesignerBuildProvider.cs
- ItemsPresenter.cs
- PtsPage.cs
- WebPartEditVerb.cs
- GridViewRowPresenter.cs
- VirtualPathProvider.cs
- AnchoredBlock.cs
- HttpCookie.cs
- CompareValidator.cs
- VersionedStreamOwner.cs
- XmlDataSourceView.cs
- CompiledRegexRunner.cs
- __Filters.cs
- PersonalizationEntry.cs
- SynchronizedDispatch.cs