Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / InputReportEventArgs.cs / 1305600 / 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
- dbenumerator.cs
- CanonicalXml.cs
- AccessDataSource.cs
- DecimalStorage.cs
- MediaContextNotificationWindow.cs
- AttachedAnnotationChangedEventArgs.cs
- BevelBitmapEffect.cs
- ProcessModelSection.cs
- MsdtcWrapper.cs
- PrintEvent.cs
- SiteMapDataSourceDesigner.cs
- ShowExpandedMultiValueConverter.cs
- CaseInsensitiveComparer.cs
- TypeConverterHelper.cs
- SortedDictionary.cs
- StreamAsIStream.cs
- Timer.cs
- TiffBitmapEncoder.cs
- WpfGeneratedKnownProperties.cs
- _LazyAsyncResult.cs
- OptimisticConcurrencyException.cs
- MimeBasePart.cs
- XmlCollation.cs
- CodeDomDecompiler.cs
- ImageSourceTypeConverter.cs
- SByteConverter.cs
- Internal.cs
- CodeAccessPermission.cs
- ColorTransformHelper.cs
- MarginsConverter.cs
- CompiledQueryCacheEntry.cs
- WebPartExportVerb.cs
- WebPartCatalogCloseVerb.cs
- ImageClickEventArgs.cs
- MenuAutomationPeer.cs
- StrokeNode.cs
- HtmlFormParameterReader.cs
- BitmapEffectGeneralTransform.cs
- ExpressionEditorSheet.cs
- EventListener.cs
- ToolStripItemClickedEventArgs.cs
- EventlogProvider.cs
- ItemCollection.cs
- WebBrowserNavigatedEventHandler.cs
- ZipIOBlockManager.cs
- ReadContentAsBinaryHelper.cs
- Stream.cs
- Math.cs
- RolePrincipal.cs
- XmlStreamNodeWriter.cs
- CachedPathData.cs
- BamlResourceDeserializer.cs
- SystemIPInterfaceStatistics.cs
- StackBuilderSink.cs
- PerformanceCounterPermissionEntryCollection.cs
- UnmanagedMarshal.cs
- AsyncSerializedWorker.cs
- EventTrigger.cs
- SystemInfo.cs
- ScriptingScriptResourceHandlerSection.cs
- wgx_sdk_version.cs
- Serializer.cs
- DivideByZeroException.cs
- OleDbConnection.cs
- CapiHashAlgorithm.cs
- MulticastIPAddressInformationCollection.cs
- ParserStack.cs
- ToolStripSystemRenderer.cs
- DataServiceHost.cs
- ApplicationDirectoryMembershipCondition.cs
- cache.cs
- ConnectionManagementSection.cs
- rsa.cs
- Error.cs
- KeyboardDevice.cs
- FactoryMaker.cs
- SelectQueryOperator.cs
- SystemIPGlobalStatistics.cs
- RowUpdatedEventArgs.cs
- SizeConverter.cs
- GridViewDeleteEventArgs.cs
- WebPartConnectVerb.cs
- Documentation.cs
- RadioButtonStandardAdapter.cs
- IdnElement.cs
- MetaColumn.cs
- RequestQueue.cs
- HTMLTextWriter.cs
- RangeValidator.cs
- FeatureSupport.cs
- dataobject.cs
- TextContainerChangedEventArgs.cs
- ConfigDefinitionUpdates.cs
- TransformProviderWrapper.cs
- ScrollEvent.cs
- IISMapPath.cs
- Point3DIndependentAnimationStorage.cs
- TextRangeAdaptor.cs
- MarkupCompilePass1.cs
- QueryOutputWriter.cs