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
- SequenceNumber.cs
- DataGridAutoFormatDialog.cs
- MessageLoggingFilterTraceRecord.cs
- Rect.cs
- GenerateHelper.cs
- NumberSubstitution.cs
- AnnotationResourceCollection.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ToolStripTextBox.cs
- MetadataUtil.cs
- ParseHttpDate.cs
- cookieexception.cs
- ClientSettings.cs
- PageContentAsyncResult.cs
- MenuItemCollection.cs
- XPathParser.cs
- ExtractorMetadata.cs
- Rule.cs
- CellParagraph.cs
- DependencyPropertyHelper.cs
- IListConverters.cs
- IdentityManager.cs
- FlowNode.cs
- EmptyControlCollection.cs
- ApplicationTrust.cs
- XMLDiffLoader.cs
- RuntimeHandles.cs
- AssemblyCache.cs
- DbProviderFactory.cs
- AttributeUsageAttribute.cs
- Encoder.cs
- DynamicRenderer.cs
- AdapterUtil.cs
- XPathMessageFilter.cs
- TreeViewDesigner.cs
- Lease.cs
- PriorityQueue.cs
- ObjectHandle.cs
- WmpBitmapEncoder.cs
- EnumerableRowCollection.cs
- FileClassifier.cs
- ThreadInterruptedException.cs
- IPGlobalProperties.cs
- XmlBoundElement.cs
- SqlNodeAnnotations.cs
- ImportCatalogPart.cs
- UriTemplatePathSegment.cs
- BinaryCommonClasses.cs
- CompModSwitches.cs
- XmlNodeChangedEventArgs.cs
- DataAdapter.cs
- QueueProcessor.cs
- InternalCache.cs
- SessionStateSection.cs
- FileSystemInfo.cs
- ResolvedKeyFrameEntry.cs
- CheckedListBox.cs
- ListenerPerfCounters.cs
- DBSchemaRow.cs
- ImageSourceValueSerializer.cs
- File.cs
- UpdateProgress.cs
- FamilyMap.cs
- WindowsGraphics2.cs
- PropertyCollection.cs
- ColorIndependentAnimationStorage.cs
- UndirectedGraph.cs
- ImageMetadata.cs
- DisplayNameAttribute.cs
- FolderLevelBuildProviderCollection.cs
- SimpleApplicationHost.cs
- ActionItem.cs
- ValuePattern.cs
- FamilyTypefaceCollection.cs
- ModifiableIteratorCollection.cs
- CodeArrayIndexerExpression.cs
- SyndicationDeserializer.cs
- UpdateCommandGenerator.cs
- EntityDataSourceStatementEditor.cs
- SoapConverter.cs
- RowBinding.cs
- SrgsDocumentParser.cs
- PropertyTab.cs
- BoolExpression.cs
- XPathNodeInfoAtom.cs
- InputChannel.cs
- RoutedEvent.cs
- StoreItemCollection.cs
- DbModificationCommandTree.cs
- ProfilePropertyMetadata.cs
- ObjectQueryExecutionPlan.cs
- FixedElement.cs
- DeviceContext.cs
- DataContractJsonSerializerOperationBehavior.cs
- CryptoHelper.cs
- ManifestSignatureInformation.cs
- _Connection.cs
- RadioButtonBaseAdapter.cs
- AssemblyBuilder.cs
- SystemIPGlobalStatistics.cs