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
- GridPattern.cs
- Listen.cs
- BlobPersonalizationState.cs
- EntityCommandCompilationException.cs
- XmlValidatingReader.cs
- FileSecurity.cs
- filewebresponse.cs
- Attribute.cs
- Freezable.cs
- Model3DGroup.cs
- NavigatorOutput.cs
- ObjectReferenceStack.cs
- FixedSOMPageElement.cs
- PropertyDescriptorCollection.cs
- ConstraintStruct.cs
- newinstructionaction.cs
- Array.cs
- TextAutomationPeer.cs
- SqlBooleanMismatchVisitor.cs
- SmtpMail.cs
- SqlFacetAttribute.cs
- DateTimeUtil.cs
- SamlSerializer.cs
- ViewCellSlot.cs
- SqlGatherProducedAliases.cs
- VectorCollectionValueSerializer.cs
- DecimalConstantAttribute.cs
- FileCodeGroup.cs
- CutCopyPasteHelper.cs
- OverflowException.cs
- RoleManagerSection.cs
- SiteIdentityPermission.cs
- translator.cs
- GestureRecognizer.cs
- CompletionBookmark.cs
- SocketInformation.cs
- InlineUIContainer.cs
- WindowsTab.cs
- CultureMapper.cs
- XsltArgumentList.cs
- SymmetricKeyWrap.cs
- activationcontext.cs
- Single.cs
- FunctionUpdateCommand.cs
- WebPartEditVerb.cs
- DBCommand.cs
- WebBrowserEvent.cs
- DataFormats.cs
- CollectionViewGroupInternal.cs
- WebZone.cs
- ActivationServices.cs
- Int32Converter.cs
- FileUtil.cs
- GenerateScriptTypeAttribute.cs
- WebPartConnectionsCloseVerb.cs
- AdapterDictionary.cs
- LogoValidationException.cs
- ThemeableAttribute.cs
- DataBinding.cs
- ResourcesChangeInfo.cs
- CustomPopupPlacement.cs
- VScrollBar.cs
- ScaleTransform3D.cs
- JsonSerializer.cs
- LabelLiteral.cs
- FontStyle.cs
- LocalizableAttribute.cs
- DispatcherOperation.cs
- InProcStateClientManager.cs
- FixedTextContainer.cs
- ApplicationServiceManager.cs
- SecurityException.cs
- XmlHierarchyData.cs
- DatePickerTextBox.cs
- ServiceDesigner.xaml.cs
- FileDialog_Vista_Interop.cs
- ControlTemplate.cs
- FixedStringLookup.cs
- List.cs
- Visual3D.cs
- OneOfScalarConst.cs
- WebResourceUtil.cs
- NTAccount.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- CharacterString.cs
- ValidationErrorInfo.cs
- ZoneMembershipCondition.cs
- ClientEventManager.cs
- StylusLogic.cs
- CultureMapper.cs
- WmlPageAdapter.cs
- CacheRequest.cs
- GraphicsContainer.cs
- TextParagraphView.cs
- ApplicationProxyInternal.cs
- PropertyFilter.cs
- ProfileGroupSettingsCollection.cs
- SHA256.cs
- DependencyPropertyChangedEventArgs.cs
- PointAnimationBase.cs