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
- BaseParser.cs
- TdsEnums.cs
- Positioning.cs
- BrowsableAttribute.cs
- UInt32Converter.cs
- DataSetMappper.cs
- InvokeMethodDesigner.xaml.cs
- DispatchWrapper.cs
- NavigatorOutput.cs
- X500Name.cs
- Memoizer.cs
- EastAsianLunisolarCalendar.cs
- SrgsSubset.cs
- ProtectedConfigurationSection.cs
- XsdDuration.cs
- RegexRunnerFactory.cs
- ToolboxBitmapAttribute.cs
- SHA256CryptoServiceProvider.cs
- GlyphCache.cs
- DashStyles.cs
- PageBuildProvider.cs
- JsonClassDataContract.cs
- ParseNumbers.cs
- PtsContext.cs
- ObjectDataSourceEventArgs.cs
- DriveInfo.cs
- XPathAxisIterator.cs
- Options.cs
- TripleDES.cs
- XPathNodeIterator.cs
- ContainerControlDesigner.cs
- CapabilitiesState.cs
- LayoutTableCell.cs
- ConfigurationStrings.cs
- URL.cs
- ExceptionUtil.cs
- SetterTriggerConditionValueConverter.cs
- SqlProfileProvider.cs
- StatusBarDrawItemEvent.cs
- XmlChoiceIdentifierAttribute.cs
- RemotingConfigParser.cs
- OpenTypeLayoutCache.cs
- DebugViewWriter.cs
- EventLogPermissionEntryCollection.cs
- ChannelManagerBase.cs
- HtmlEmptyTagControlBuilder.cs
- DocumentXmlWriter.cs
- TextRenderingModeValidation.cs
- DataGridViewRow.cs
- SQLResource.cs
- ReferenceSchema.cs
- SessionViewState.cs
- PropertyConverter.cs
- HtmlImage.cs
- ByteStreamMessageEncoderFactory.cs
- CodeCommentStatementCollection.cs
- IPCCacheManager.cs
- QilFunction.cs
- InvalidCommandTreeException.cs
- SecurityChannelFactory.cs
- XappLauncher.cs
- HttpModuleCollection.cs
- ImageCodecInfo.cs
- TableCellCollection.cs
- HtmlControl.cs
- Brushes.cs
- SignatureToken.cs
- ValueSerializerAttribute.cs
- CustomAttributeBuilder.cs
- ObjectDisposedException.cs
- ActivityValidator.cs
- File.cs
- UseLicense.cs
- FullTextState.cs
- ConfigXmlWhitespace.cs
- DesignerForm.cs
- RegexCapture.cs
- SQLMoneyStorage.cs
- RepeatBehavior.cs
- TextContainerHelper.cs
- DataAccessor.cs
- OleDbFactory.cs
- MultiBinding.cs
- NegotiateStream.cs
- BitmapEncoder.cs
- Image.cs
- DataColumnCollection.cs
- ZipIOLocalFileBlock.cs
- METAHEADER.cs
- FileUpload.cs
- Axis.cs
- GACMembershipCondition.cs
- ToolStripStatusLabel.cs
- HelpFileFileNameEditor.cs
- SqlDependency.cs
- HandledEventArgs.cs
- HttpHandlerAction.cs
- ValidationErrorEventArgs.cs
- _NestedSingleAsyncResult.cs
- SdlChannelSink.cs