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
- CodeMethodInvokeExpression.cs
- BitmapCodecInfoInternal.cs
- SystemIcmpV6Statistics.cs
- ProfessionalColorTable.cs
- TextEditorDragDrop.cs
- FullTextBreakpoint.cs
- LookupNode.cs
- IntPtr.cs
- IsolationInterop.cs
- AnyReturnReader.cs
- XmlCharCheckingReader.cs
- SystemWebSectionGroup.cs
- OrderByQueryOptionExpression.cs
- CopyAttributesAction.cs
- Substitution.cs
- ServiceOperationParameter.cs
- basevalidator.cs
- PropertyTabChangedEvent.cs
- CapabilitiesUse.cs
- DynamicDataResources.Designer.cs
- EmptyReadOnlyDictionaryInternal.cs
- HotCommands.cs
- SettingsPropertyWrongTypeException.cs
- PointCollectionValueSerializer.cs
- StoryFragments.cs
- SQLResource.cs
- DesignerAutoFormat.cs
- AutoGeneratedFieldProperties.cs
- HierarchicalDataBoundControl.cs
- InternalTypeHelper.cs
- HttpServerVarsCollection.cs
- WpfWebRequestHelper.cs
- SchemaNotation.cs
- DesignSurfaceManager.cs
- IntSumAggregationOperator.cs
- CodeCommentStatementCollection.cs
- QueryStringConverter.cs
- ConnectionPoolManager.cs
- ToolStripRenderer.cs
- RawTextInputReport.cs
- StorageInfo.cs
- AppLevelCompilationSectionCache.cs
- PropertyTab.cs
- AsyncResult.cs
- AssemblyInfo.cs
- NumericPagerField.cs
- TypePresenter.xaml.cs
- AtomicFile.cs
- CTreeGenerator.cs
- X509Utils.cs
- SqlAliasesReferenced.cs
- ClientEventManager.cs
- XmlNamespaceDeclarationsAttribute.cs
- PointHitTestParameters.cs
- AesCryptoServiceProvider.cs
- AutoResizedEvent.cs
- ReadOnlyDataSourceView.cs
- MemberInfoSerializationHolder.cs
- TempFiles.cs
- PropertyGridDesigner.cs
- Timer.cs
- DataColumn.cs
- KeyInfo.cs
- EntityDataSourceState.cs
- DesignerFrame.cs
- TemplateControlBuildProvider.cs
- AdornerPresentationContext.cs
- RectAnimationClockResource.cs
- COM2PictureConverter.cs
- CharUnicodeInfo.cs
- XmlUtil.cs
- EmptyCollection.cs
- DataListAutoFormat.cs
- PrincipalPermission.cs
- TabItem.cs
- PublisherIdentityPermission.cs
- EventRouteFactory.cs
- SiteMapDataSourceDesigner.cs
- ZipIOLocalFileHeader.cs
- ObjectStorage.cs
- ListBoxItemAutomationPeer.cs
- securitycriticaldataformultiplegetandset.cs
- TextSelectionProcessor.cs
- mansign.cs
- TokenFactoryCredential.cs
- CodeMemberField.cs
- GlobalizationAssembly.cs
- FileRecordSequenceCompletedAsyncResult.cs
- HttpAsyncResult.cs
- Compiler.cs
- WS2007FederationHttpBindingElement.cs
- UnicodeEncoding.cs
- GeneralTransform3DGroup.cs
- WeakReferenceKey.cs
- ParameterEditorUserControl.cs
- input.cs
- QilTargetType.cs
- NamespaceInfo.cs
- SafeArchiveContext.cs
- MimeXmlReflector.cs