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
- DeviceContexts.cs
- CacheEntry.cs
- Span.cs
- RNGCryptoServiceProvider.cs
- WindowsAuthenticationModule.cs
- RelatedPropertyManager.cs
- RemoteHelper.cs
- DSASignatureDeformatter.cs
- SqlTransaction.cs
- ListBindingHelper.cs
- AppDomainManager.cs
- GenericPrincipal.cs
- ToolboxSnapDragDropEventArgs.cs
- AuthorizationRuleCollection.cs
- UnionCodeGroup.cs
- ScrollContentPresenter.cs
- ValidationErrorEventArgs.cs
- ConfigurationValidatorAttribute.cs
- SchemaInfo.cs
- ObjectDataSource.cs
- SchemaEntity.cs
- X509ChainElement.cs
- KernelTypeValidation.cs
- SecurityTokenException.cs
- DigestComparer.cs
- OdbcFactory.cs
- EtwTrace.cs
- ScaleTransform.cs
- sitestring.cs
- AutomationElement.cs
- Typography.cs
- ConditionedDesigner.cs
- IisTraceWebEventProvider.cs
- SerialStream.cs
- BitmapCodecInfo.cs
- BasicKeyConstraint.cs
- ChtmlMobileTextWriter.cs
- WebScriptServiceHostFactory.cs
- WindowsTokenRoleProvider.cs
- XmlCountingReader.cs
- SiteOfOriginContainer.cs
- ActiveXHelper.cs
- RedirectionProxy.cs
- SecurityState.cs
- Attributes.cs
- HatchBrush.cs
- RuleSettingsCollection.cs
- NavigationHelper.cs
- FolderNameEditor.cs
- StyleCollection.cs
- Semaphore.cs
- ParseHttpDate.cs
- RayHitTestParameters.cs
- SizeLimitedCache.cs
- XmlMembersMapping.cs
- ImageButton.cs
- AuthenticationServiceManager.cs
- BoolExpression.cs
- DoubleStorage.cs
- SpellerHighlightLayer.cs
- ScriptControlManager.cs
- QueueSurrogate.cs
- UniqueEventHelper.cs
- CompiledQueryCacheEntry.cs
- HttpCachePolicy.cs
- WebPartPersonalization.cs
- ExtensibleClassFactory.cs
- ISessionStateStore.cs
- UnorderedHashRepartitionStream.cs
- AuthStoreRoleProvider.cs
- ListViewCommandEventArgs.cs
- SelectionChangedEventArgs.cs
- FixedDocument.cs
- CssClassPropertyAttribute.cs
- ProcessHostConfigUtils.cs
- SignedXmlDebugLog.cs
- NotificationContext.cs
- HtmlInputRadioButton.cs
- XPathNodeList.cs
- GlyphsSerializer.cs
- NativeRightsManagementAPIsStructures.cs
- SystemWebSectionGroup.cs
- DefaultBinder.cs
- ScriptResourceDefinition.cs
- GenericAuthenticationEventArgs.cs
- Events.cs
- WithStatement.cs
- DiscriminatorMap.cs
- MutexSecurity.cs
- SaveFileDialog.cs
- CharEnumerator.cs
- RelatedView.cs
- MailMessage.cs
- WebPartConnectionsDisconnectVerb.cs
- ItemsControlAutomationPeer.cs
- TimelineGroup.cs
- LocalIdKeyIdentifierClause.cs
- XmlImplementation.cs
- GenericsNotImplementedException.cs
- InputLanguageManager.cs