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
- ToolStripPanelSelectionGlyph.cs
- PropertyMetadata.cs
- ConfigurationValues.cs
- SafeRightsManagementQueryHandle.cs
- DockingAttribute.cs
- BindingNavigator.cs
- ColumnCollection.cs
- BamlLocalizabilityResolver.cs
- HostProtectionException.cs
- FormsAuthenticationCredentials.cs
- XamlInt32CollectionSerializer.cs
- PageThemeBuildProvider.cs
- WebServiceClientProxyGenerator.cs
- TypedReference.cs
- LinkButton.cs
- ReadOnlyDataSource.cs
- ItemType.cs
- IApplicationTrustManager.cs
- AutomationElement.cs
- StringFunctions.cs
- PaperSource.cs
- MonthChangedEventArgs.cs
- ListMarkerLine.cs
- MaterializeFromAtom.cs
- XmlEncodedRawTextWriter.cs
- HttpInputStream.cs
- AutomationPropertyInfo.cs
- BitmapMetadataEnumerator.cs
- MemberExpression.cs
- altserialization.cs
- RNGCryptoServiceProvider.cs
- Point3DValueSerializer.cs
- FunctionUpdateCommand.cs
- LocalIdKeyIdentifierClause.cs
- OAVariantLib.cs
- XmlImplementation.cs
- EvidenceTypeDescriptor.cs
- XmlUtf8RawTextWriter.cs
- TextCharacters.cs
- SwitchAttribute.cs
- cookieexception.cs
- DataList.cs
- RankException.cs
- ValueType.cs
- XmlIlVisitor.cs
- UpDownBase.cs
- OutputCacheSection.cs
- RangeContentEnumerator.cs
- HashRepartitionEnumerator.cs
- XamlRtfConverter.cs
- StringAttributeCollection.cs
- BindingValueChangedEventArgs.cs
- ParsedAttributeCollection.cs
- ParagraphVisual.cs
- HttpListenerContext.cs
- HttpVersion.cs
- ComplusTypeValidator.cs
- XmlSchemaValidationException.cs
- Message.cs
- SubpageParaClient.cs
- DesignerActionList.cs
- DBSqlParserTableCollection.cs
- WebReferenceCollection.cs
- XmlUtf8RawTextWriter.cs
- HandlerBase.cs
- backend.cs
- XmlSerializationReader.cs
- AuthenticationModuleElement.cs
- SQLResource.cs
- TextContainerHelper.cs
- XamlReader.cs
- XmlSchemaSimpleTypeUnion.cs
- FileIOPermission.cs
- NameTable.cs
- HttpRequestWrapper.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- FormsAuthenticationTicket.cs
- MetadataItemSerializer.cs
- WpfKnownTypeInvoker.cs
- DataControlCommands.cs
- RawStylusInputReport.cs
- MappingMetadataHelper.cs
- ZipIOBlockManager.cs
- ObjectStorage.cs
- BorderGapMaskConverter.cs
- StreamingContext.cs
- Decimal.cs
- SqlDataReader.cs
- DataGridViewCellCancelEventArgs.cs
- DataSpaceManager.cs
- FromReply.cs
- WinCategoryAttribute.cs
- XmlToDatasetMap.cs
- basecomparevalidator.cs
- TextPenaltyModule.cs
- SafeRegistryHandle.cs
- EntityContainerEntitySet.cs
- OleDbException.cs
- ComponentResourceKeyConverter.cs
- DataSourceHelper.cs