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
- BamlRecordReader.cs
- Parsers.cs
- BaseValidatorDesigner.cs
- ChooseAction.cs
- Serialization.cs
- GetCertificateRequest.cs
- isolationinterop.cs
- ToolStripContentPanel.cs
- SqlCacheDependencyDatabase.cs
- SafeHandle.cs
- RouteUrlExpressionBuilder.cs
- TemplateKey.cs
- webeventbuffer.cs
- InOutArgumentConverter.cs
- SoapIncludeAttribute.cs
- Funcletizer.cs
- TypeConverter.cs
- PropertyMetadata.cs
- AmbientValueAttribute.cs
- IChannel.cs
- SymbolDocumentGenerator.cs
- GeneralTransform3DGroup.cs
- CellPartitioner.cs
- GroupBoxRenderer.cs
- CatalogPartChrome.cs
- ApplicationProxyInternal.cs
- PropertyCondition.cs
- ZoomingMessageFilter.cs
- TextDpi.cs
- RectangleF.cs
- ObjectResult.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CalculatedColumn.cs
- TextRangeAdaptor.cs
- ViewManager.cs
- ProbeMatchesApril2005.cs
- VSWCFServiceContractGenerator.cs
- odbcmetadatafactory.cs
- ScrollViewerAutomationPeer.cs
- ModulesEntry.cs
- XmlSchemaRedefine.cs
- PrivacyNoticeElement.cs
- TryCatch.cs
- StructureChangedEventArgs.cs
- PtsContext.cs
- AuthenticationModuleElement.cs
- MILUtilities.cs
- DynamicDocumentPaginator.cs
- IisTraceListener.cs
- CompiledELinqQueryState.cs
- RegexWriter.cs
- DescendantQuery.cs
- StringKeyFrameCollection.cs
- RowUpdatedEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- VectorKeyFrameCollection.cs
- brushes.cs
- DrawingContext.cs
- ThemeDictionaryExtension.cs
- Single.cs
- VisualStyleInformation.cs
- ClientTarget.cs
- Latin1Encoding.cs
- Canvas.cs
- PolyBezierSegment.cs
- filewebresponse.cs
- BaseValidator.cs
- TextPatternIdentifiers.cs
- MatrixTransform.cs
- AccessibleObject.cs
- UniqueConstraint.cs
- UpDownEvent.cs
- InputBinder.cs
- RemotingException.cs
- dataSvcMapFileLoader.cs
- AsyncResult.cs
- TreeNodeBinding.cs
- RectIndependentAnimationStorage.cs
- ChangeProcessor.cs
- brushes.cs
- TableStyle.cs
- DescendantOverDescendantQuery.cs
- MutexSecurity.cs
- ExpressionDumper.cs
- InputReportEventArgs.cs
- MouseEventArgs.cs
- ApplicationServicesHostFactory.cs
- AlternateViewCollection.cs
- RuleAttributes.cs
- DbQueryCommandTree.cs
- TableLayoutRowStyleCollection.cs
- GridToolTip.cs
- DisplayNameAttribute.cs
- PeerPresenceInfo.cs
- DelegatingHeader.cs
- BufferModesCollection.cs
- ConfigurationManagerInternal.cs
- LiteralLink.cs
- ClientType.cs
- Size.cs