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
- PeerNameResolver.cs
- Error.cs
- TypeDelegator.cs
- PrintEvent.cs
- SharedConnectionInfo.cs
- XsdBuildProvider.cs
- PolyBezierSegmentFigureLogic.cs
- ParameterCollection.cs
- RenderOptions.cs
- AVElementHelper.cs
- DbInsertCommandTree.cs
- InternalBufferOverflowException.cs
- initElementDictionary.cs
- EventProxy.cs
- Operators.cs
- ErrorFormatter.cs
- SystemIPInterfaceProperties.cs
- PeerName.cs
- CompressedStack.cs
- SafeMILHandle.cs
- WebPartUserCapability.cs
- Delay.cs
- HMACSHA256.cs
- XmlSchemaSequence.cs
- CallbackBehaviorAttribute.cs
- ControlsConfig.cs
- ListItem.cs
- FrameworkTextComposition.cs
- SigningCredentials.cs
- GeometryValueSerializer.cs
- ToolStripPanelRenderEventArgs.cs
- TableLayoutStyleCollection.cs
- StringPropertyBuilder.cs
- DeclaredTypeValidator.cs
- WindowsSpinner.cs
- DataGridItemCollection.cs
- AppDomain.cs
- XmlSchemaAll.cs
- PropertyInformationCollection.cs
- SqlParameter.cs
- BaseAppDomainProtocolHandler.cs
- ConsumerConnectionPoint.cs
- CompressEmulationStream.cs
- TextBlockAutomationPeer.cs
- SecurityManager.cs
- Context.cs
- RuleSettings.cs
- BamlBinaryWriter.cs
- OptimizedTemplateContent.cs
- BuilderPropertyEntry.cs
- Delegate.cs
- SafeThreadHandle.cs
- ListControlConvertEventArgs.cs
- InstanceHandleConflictException.cs
- DeobfuscatingStream.cs
- StylusPointProperties.cs
- ContractCodeDomInfo.cs
- FormViewDeletedEventArgs.cs
- HebrewCalendar.cs
- GraphicsPathIterator.cs
- ElementFactory.cs
- BitHelper.cs
- OrderedDictionaryStateHelper.cs
- OnOperation.cs
- Win32.cs
- SemanticTag.cs
- DocumentXPathNavigator.cs
- HoistedLocals.cs
- ArrangedElement.cs
- TransformPatternIdentifiers.cs
- EntitySqlQueryState.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ClientSponsor.cs
- embossbitmapeffect.cs
- RtfControls.cs
- LinkLabelLinkClickedEvent.cs
- WarningException.cs
- ThaiBuddhistCalendar.cs
- ExpandCollapseIsCheckedConverter.cs
- BindingList.cs
- StringFreezingAttribute.cs
- Visual3D.cs
- CacheVirtualItemsEvent.cs
- ConditionCollection.cs
- FigureParaClient.cs
- GeneratedCodeAttribute.cs
- UriTemplatePathSegment.cs
- IdleTimeoutMonitor.cs
- EventToken.cs
- XMLSchema.cs
- QuotedPrintableStream.cs
- SqlConnectionFactory.cs
- WebPartRestoreVerb.cs
- HWStack.cs
- __Filters.cs
- ServicePointManager.cs
- ExportException.cs
- PrintPreviewGraphics.cs
- _BasicClient.cs
- Bitmap.cs