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
- MdiWindowListStrip.cs
- ILGenerator.cs
- DrawingGroup.cs
- ArrangedElement.cs
- TokenBasedSetEnumerator.cs
- ContextStaticAttribute.cs
- ValidationPropertyAttribute.cs
- DataGridViewSelectedColumnCollection.cs
- ColorConvertedBitmapExtension.cs
- DoubleAnimationClockResource.cs
- DesignObjectWrapper.cs
- ConnectionPointConverter.cs
- ServiceProviders.cs
- TripleDESCryptoServiceProvider.cs
- HiddenField.cs
- MaskedTextProvider.cs
- RegexBoyerMoore.cs
- TrackPointCollection.cs
- ToolStripLabel.cs
- WindowsFormsHostAutomationPeer.cs
- BamlMapTable.cs
- DataReaderContainer.cs
- TypeBuilderInstantiation.cs
- GeneralTransform3DTo2D.cs
- XmlName.cs
- FieldMetadata.cs
- PolyLineSegment.cs
- BoolExpression.cs
- Point4D.cs
- OleDbRowUpdatingEvent.cs
- RuntimeArgument.cs
- DocComment.cs
- AssertSection.cs
- ThicknessKeyFrameCollection.cs
- AmbientEnvironment.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- DefaultWorkflowLoaderService.cs
- CodeNamespaceImportCollection.cs
- ListDictionaryInternal.cs
- TablePatternIdentifiers.cs
- BuildProviderUtils.cs
- TraceInternal.cs
- SourceLineInfo.cs
- BamlTreeNode.cs
- TrackingServices.cs
- Dispatcher.cs
- InfiniteIntConverter.cs
- HyperLink.cs
- ContextMenuStripGroup.cs
- QilInvokeEarlyBound.cs
- SizeF.cs
- DesignerActionService.cs
- TableLayout.cs
- ValidatingReaderNodeData.cs
- DataTransferEventArgs.cs
- IncrementalHitTester.cs
- RuleRefElement.cs
- base64Transforms.cs
- FileEnumerator.cs
- __Filters.cs
- Transform3DGroup.cs
- TabControlAutomationPeer.cs
- DataGridViewRowStateChangedEventArgs.cs
- Dump.cs
- WindowsImpersonationContext.cs
- Literal.cs
- EdmToObjectNamespaceMap.cs
- PreviewPrintController.cs
- SqlInternalConnection.cs
- DataGridViewCellCollection.cs
- _FtpControlStream.cs
- Int32Rect.cs
- TextTrailingWordEllipsis.cs
- SiteMapPathDesigner.cs
- FixedSOMPageElement.cs
- MachineSettingsSection.cs
- FileRecordSequenceCompletedAsyncResult.cs
- ObjectDataSourceMethodEventArgs.cs
- _SingleItemRequestCache.cs
- EventLogPropertySelector.cs
- ConnectorDragDropGlyph.cs
- TrackingRecord.cs
- ProcessThread.cs
- SamlConditions.cs
- RowToParametersTransformer.cs
- BindingMemberInfo.cs
- CreateUserWizardStep.cs
- UserControl.cs
- UserPersonalizationStateInfo.cs
- ComponentRenameEvent.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ApplicationFileParser.cs
- SortedDictionary.cs
- MdImport.cs
- XamlBrushSerializer.cs
- Roles.cs
- ApplicationServiceManager.cs
- SerializationTrace.cs
- LabelDesigner.cs
- HtmlForm.cs