Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / MouseWheelEventArgs.cs / 1 / MouseWheelEventArgs.cs
using System; namespace System.Windows.Input { ////// The MouseWheelEventArgs describes the state of a Mouse wheel. /// public class MouseWheelEventArgs : MouseEventArgs { ////// Initializes a new instance of the MouseWheelEventArgs class. /// /// /// The Mouse device associated with this event. /// /// /// The time when the input occured. /// /// /// How much the mouse wheel turned. /// public MouseWheelEventArgs(MouseDevice mouse, int timestamp, int delta) : base(mouse, timestamp) { _delta = delta; } ////// Read-only access to the amount the mouse wheel turned. /// public int Delta { get {return _delta;} } ////// 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) { MouseWheelEventHandler handler = (MouseWheelEventHandler) genericHandler; handler(genericTarget, this); } private static int _delta; } } // 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
- Overlapped.cs
- WebSysDefaultValueAttribute.cs
- EntityWrapper.cs
- DataGridViewTextBoxEditingControl.cs
- DocumentSchemaValidator.cs
- NavigatorOutput.cs
- IItemProperties.cs
- ToolStripHighContrastRenderer.cs
- loginstatus.cs
- BevelBitmapEffect.cs
- ExistsInCollection.cs
- CroppedBitmap.cs
- TextRangeSerialization.cs
- WebServiceFault.cs
- processwaithandle.cs
- Int64Converter.cs
- BaseInfoTable.cs
- DropSource.cs
- MessagePartSpecification.cs
- TriggerBase.cs
- ZipIOCentralDirectoryFileHeader.cs
- FixedTextPointer.cs
- ForwardPositionQuery.cs
- GeometryModel3D.cs
- Query.cs
- DataControlFieldHeaderCell.cs
- DataGridViewCellMouseEventArgs.cs
- ComponentChangingEvent.cs
- AnnotationMap.cs
- ScrollBarRenderer.cs
- StorageComplexPropertyMapping.cs
- ImageFormat.cs
- UiaCoreTypesApi.cs
- SourceFileInfo.cs
- PropertyHelper.cs
- BitmapMetadataEnumerator.cs
- ReadOnlyTernaryTree.cs
- documentsequencetextcontainer.cs
- configsystem.cs
- DBConnection.cs
- ApplicationActivator.cs
- PrinterResolution.cs
- httpstaticobjectscollection.cs
- TemplateKeyConverter.cs
- DiagnosticTrace.cs
- XmlnsDictionary.cs
- PrimitiveType.cs
- CaseStatement.cs
- SerializationSectionGroup.cs
- Control.cs
- StyleSelector.cs
- JoinCqlBlock.cs
- Visual3D.cs
- FlatButtonAppearance.cs
- ErrorTolerantObjectWriter.cs
- AssemblyHash.cs
- ServiceCredentialsElement.cs
- SqlConnectionHelper.cs
- TcpChannelHelper.cs
- InvokeGenerator.cs
- Cursor.cs
- WebPartDisplayModeCancelEventArgs.cs
- ComponentRenameEvent.cs
- ExpressionBuilder.cs
- FunctionImportElement.cs
- Sql8ConformanceChecker.cs
- HtmlInputImage.cs
- ChangesetResponse.cs
- Panel.cs
- TypeDelegator.cs
- SqlDataSourceEnumerator.cs
- SingleAnimationBase.cs
- GeneralTransform3D.cs
- Win32.cs
- PreservationFileWriter.cs
- UInt64.cs
- bidPrivateBase.cs
- TextElementAutomationPeer.cs
- QuaternionRotation3D.cs
- SchemaDeclBase.cs
- LocatorBase.cs
- Parameter.cs
- AuthorizationContext.cs
- CompleteWizardStep.cs
- XamlReaderHelper.cs
- ArgumentOutOfRangeException.cs
- RotateTransform.cs
- RoleManagerSection.cs
- PropertyTabChangedEvent.cs
- WorkflowInstanceRecord.cs
- PeerNameRecordCollection.cs
- XmlNamespaceMappingCollection.cs
- SmtpAuthenticationManager.cs
- FileFormatException.cs
- RowCache.cs
- TransactionScope.cs
- BrowserCapabilitiesFactoryBase.cs
- ColorEditor.cs
- WindowsSecurityTokenAuthenticator.cs
- StylusOverProperty.cs