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
- ProviderConnectionPointCollection.cs
- GacUtil.cs
- ThumbAutomationPeer.cs
- JsonReader.cs
- JsonEnumDataContract.cs
- X509CertificateStore.cs
- WebBrowserUriTypeConverter.cs
- ServiceModelConfigurationSection.cs
- Message.cs
- BamlTreeUpdater.cs
- EdmConstants.cs
- DataGridCellClipboardEventArgs.cs
- DataGridCell.cs
- DllNotFoundException.cs
- ImageSourceValueSerializer.cs
- HierarchicalDataTemplate.cs
- Select.cs
- ValidatorAttribute.cs
- EntityDataSourceEntitySetNameItem.cs
- ValidatorCollection.cs
- FrameworkElement.cs
- Connection.cs
- TextMetrics.cs
- DesignerForm.cs
- EraserBehavior.cs
- FontSource.cs
- UTF8Encoding.cs
- DataGridViewRowCollection.cs
- GeneratedCodeAttribute.cs
- DataGridViewToolTip.cs
- HttpListenerException.cs
- WindowAutomationPeer.cs
- SafeProcessHandle.cs
- DataReceivedEventArgs.cs
- StringReader.cs
- Triangle.cs
- CommonRemoteMemoryBlock.cs
- GlobalizationSection.cs
- WizardStepBase.cs
- DbConnectionStringCommon.cs
- HtmlInputFile.cs
- AuthenticationService.cs
- PrimitiveXmlSerializers.cs
- ItemsPresenter.cs
- ProcessInputEventArgs.cs
- SpeakProgressEventArgs.cs
- GroupBox.cs
- RunInstallerAttribute.cs
- TableLayoutSettingsTypeConverter.cs
- EntityClassGenerator.cs
- StrongNameMembershipCondition.cs
- SynchronizedDispatch.cs
- DelegatedStream.cs
- ProfileBuildProvider.cs
- LocalizationCodeDomSerializer.cs
- CapabilitiesSection.cs
- OracleMonthSpan.cs
- ReflectPropertyDescriptor.cs
- MailWebEventProvider.cs
- UndirectedGraph.cs
- TreeNodeConverter.cs
- VisualState.cs
- SqlCommand.cs
- ProtocolsSection.cs
- ValidatedControlConverter.cs
- QueryAccessibilityHelpEvent.cs
- StaticContext.cs
- MachineKeySection.cs
- CodeArrayIndexerExpression.cs
- CodeGenerator.cs
- FormsAuthenticationConfiguration.cs
- OrderedDictionary.cs
- HostedHttpTransportManager.cs
- ElementHost.cs
- CacheSection.cs
- GifBitmapEncoder.cs
- MemberMaps.cs
- XmlMembersMapping.cs
- ObjectQuery_EntitySqlExtensions.cs
- Native.cs
- EnvironmentPermission.cs
- ContentControl.cs
- webclient.cs
- FileChangesMonitor.cs
- TextBreakpoint.cs
- ScrollBarRenderer.cs
- DefinitionUpdate.cs
- CodeAssignStatement.cs
- ReliableChannelListener.cs
- ProviderBase.cs
- SqlProvider.cs
- TypeContext.cs
- OleDbPropertySetGuid.cs
- Image.cs
- SoapSchemaExporter.cs
- EventMappingSettingsCollection.cs
- _HelperAsyncResults.cs
- HttpHandlersSection.cs
- MessageQueueConverter.cs
- PolyBezierSegment.cs