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
- InvalidFilterCriteriaException.cs
- DictionaryBase.cs
- DictionaryBase.cs
- DiagnosticSection.cs
- NonVisualControlAttribute.cs
- ToolStripSettings.cs
- ToolboxBitmapAttribute.cs
- GiveFeedbackEventArgs.cs
- ModelPropertyDescriptor.cs
- DateTimeHelper.cs
- DataBoundControl.cs
- ImageSourceValueSerializer.cs
- RSAPKCS1SignatureDeformatter.cs
- SystemColorTracker.cs
- MD5CryptoServiceProvider.cs
- FlowDocument.cs
- CatalogZoneBase.cs
- TextBoxRenderer.cs
- XsdBuildProvider.cs
- ServiceOperationParameter.cs
- FlatButtonAppearance.cs
- XmlName.cs
- WebPartMovingEventArgs.cs
- MsmqReceiveParameters.cs
- MDIClient.cs
- NativeMethods.cs
- FrameworkReadOnlyPropertyMetadata.cs
- StyleSheet.cs
- xmlfixedPageInfo.cs
- __Error.cs
- AddressUtility.cs
- DeploymentExceptionMapper.cs
- StringFreezingAttribute.cs
- PassportAuthenticationEventArgs.cs
- GeneralTransformGroup.cs
- DBDataPermissionAttribute.cs
- NotifyParentPropertyAttribute.cs
- AnnotationDocumentPaginator.cs
- DetailsView.cs
- StorageAssociationSetMapping.cs
- Label.cs
- SHA384Managed.cs
- ConnectionStringEditor.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- TextSelectionProcessor.cs
- TableLayout.cs
- TableParaClient.cs
- TextParagraphView.cs
- Figure.cs
- DataSourceView.cs
- SpellerError.cs
- CodeObjectCreateExpression.cs
- XPathNodeIterator.cs
- CompilerScopeManager.cs
- ToolStripOverflow.cs
- RC2.cs
- GifBitmapDecoder.cs
- RsaSecurityKey.cs
- ListViewDeletedEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- PrintPreviewControl.cs
- OleDbTransaction.cs
- RawMouseInputReport.cs
- DataKey.cs
- Assert.cs
- ExecutedRoutedEventArgs.cs
- TransformPatternIdentifiers.cs
- BrowserDefinition.cs
- NativeStructs.cs
- ApplicationContext.cs
- TrayIconDesigner.cs
- SQLChars.cs
- FormViewInsertEventArgs.cs
- UInt32.cs
- __Filters.cs
- HttpCookiesSection.cs
- GridViewRowCollection.cs
- GeometryValueSerializer.cs
- DrawingContextDrawingContextWalker.cs
- CommandManager.cs
- StyleXamlParser.cs
- BasicHttpSecurity.cs
- BooleanToVisibilityConverter.cs
- DataBindingHandlerAttribute.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- AttributeEmitter.cs
- RuleInfoComparer.cs
- RelationshipWrapper.cs
- NamespaceCollection.cs
- IPPacketInformation.cs
- ListViewDesigner.cs
- Enlistment.cs
- SocketException.cs
- DirtyTextRange.cs
- NavigationEventArgs.cs
- ConversionHelper.cs
- MarkupCompiler.cs
- CacheMemory.cs
- QuotedStringWriteStateInfo.cs
- WsdlBuildProvider.cs