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
- webproxy.cs
- WebServiceEnumData.cs
- HelpInfo.cs
- SqlRowUpdatedEvent.cs
- AgileSafeNativeMemoryHandle.cs
- OleDbPermission.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- KeyFrames.cs
- Int32EqualityComparer.cs
- Separator.cs
- CustomAttribute.cs
- GiveFeedbackEventArgs.cs
- TabControlAutomationPeer.cs
- WindowsAuthenticationModule.cs
- Convert.cs
- NameValueSectionHandler.cs
- SharedUtils.cs
- SymbolUsageManager.cs
- StylusCollection.cs
- SHA384Managed.cs
- IProvider.cs
- ArgumentsParser.cs
- FontWeightConverter.cs
- SuppressIldasmAttribute.cs
- AtomicFile.cs
- ConversionHelper.cs
- TrustManagerPromptUI.cs
- SecurityResources.cs
- ValueTypeFixupInfo.cs
- ClassHandlersStore.cs
- AdapterSwitches.cs
- SharedStream.cs
- ClonableStack.cs
- DSASignatureDeformatter.cs
- PageStatePersister.cs
- CustomAssemblyResolver.cs
- DrawingAttributes.cs
- SqlBuilder.cs
- ItemsControlAutomationPeer.cs
- LinkArea.cs
- odbcmetadatacollectionnames.cs
- SizeAnimation.cs
- AssemblyInfo.cs
- XamlClipboardData.cs
- ValidationRuleCollection.cs
- DiffuseMaterial.cs
- FrameworkTextComposition.cs
- ZipIOLocalFileBlock.cs
- EventListenerClientSide.cs
- Predicate.cs
- HandleValueEditor.cs
- HandlerFactoryCache.cs
- LinkedResourceCollection.cs
- Reference.cs
- ContentPlaceHolder.cs
- LoginUtil.cs
- SecureUICommand.cs
- SqlBulkCopyColumnMapping.cs
- FrameworkObject.cs
- WinFormsUtils.cs
- PropertyItemInternal.cs
- CustomPeerResolverService.cs
- cache.cs
- SqlHelper.cs
- Expressions.cs
- TransformerInfo.cs
- StringDictionaryEditor.cs
- AmbientProperties.cs
- Wizard.cs
- EntitySetBaseCollection.cs
- RelationshipConverter.cs
- LocalServiceSecuritySettingsElement.cs
- CellIdBoolean.cs
- COM2PictureConverter.cs
- ProfileGroupSettingsCollection.cs
- UrlPath.cs
- GestureRecognizer.cs
- HierarchicalDataSourceControl.cs
- MaterialGroup.cs
- BinaryParser.cs
- DataTableCollection.cs
- Material.cs
- NotImplementedException.cs
- UriScheme.cs
- PackagingUtilities.cs
- ControlBindingsConverter.cs
- AnimationClock.cs
- Line.cs
- BidPrivateBase.cs
- TableStyle.cs
- sqlnorm.cs
- GB18030Encoding.cs
- XPathDocument.cs
- ChannelSettingsElement.cs
- ShaderRenderModeValidation.cs
- ClientSideProviderDescription.cs
- CustomPopupPlacement.cs
- FormatterConverter.cs
- COM2EnumConverter.cs
- DynamicDataRouteHandler.cs