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
- basevalidator.cs
- DesignerWidgets.cs
- SoapCommonClasses.cs
- VarRefManager.cs
- BindingSourceDesigner.cs
- ObfuscationAttribute.cs
- HttpAsyncResult.cs
- SaveRecipientRequest.cs
- ShutDownListener.cs
- CompilerScopeManager.cs
- MenuAutomationPeer.cs
- ObfuscationAttribute.cs
- DataGridToolTip.cs
- PathGradientBrush.cs
- HtmlButton.cs
- XPathDocument.cs
- AuthenticationServiceManager.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- IIS7WorkerRequest.cs
- GacUtil.cs
- HMACSHA384.cs
- TextEndOfLine.cs
- AffineTransform3D.cs
- elementinformation.cs
- DataGridViewSelectedRowCollection.cs
- RegexInterpreter.cs
- HealthMonitoringSection.cs
- OlePropertyStructs.cs
- UseAttributeSetsAction.cs
- GeometryModel3D.cs
- XmlSchemaExporter.cs
- DispatcherExceptionEventArgs.cs
- HtmlButton.cs
- SpotLight.cs
- HtmlShimManager.cs
- OptimalBreakSession.cs
- HtmlAnchor.cs
- PreservationFileWriter.cs
- Helpers.cs
- ToolStripOverflow.cs
- GroupQuery.cs
- PathGradientBrush.cs
- XmlCodeExporter.cs
- Type.cs
- XmlSchemaAnnotated.cs
- EntityModelSchemaGenerator.cs
- ZipIOLocalFileDataDescriptor.cs
- HtmlTableRow.cs
- SplitterEvent.cs
- AbsoluteQuery.cs
- DataSourceControl.cs
- FocusManager.cs
- DataControlField.cs
- NotifyInputEventArgs.cs
- ErrorRuntimeConfig.cs
- MouseGestureConverter.cs
- ComplexTypeEmitter.cs
- ListControl.cs
- UiaCoreApi.cs
- MenuEventArgs.cs
- ellipse.cs
- ModelTreeManager.cs
- BaseInfoTable.cs
- XmlAnyElementAttributes.cs
- FeatureSupport.cs
- TagPrefixInfo.cs
- SettingsPropertyWrongTypeException.cs
- ThreadInterruptedException.cs
- HtmlHead.cs
- BitmapEffectDrawingContextWalker.cs
- PerformanceCounterCategory.cs
- BezierSegment.cs
- MaskedTextBox.cs
- SecureEnvironment.cs
- GridErrorDlg.cs
- TileBrush.cs
- InputScopeNameConverter.cs
- SvcMapFileLoader.cs
- QuaternionIndependentAnimationStorage.cs
- Query.cs
- ToolStripArrowRenderEventArgs.cs
- ByteArrayHelperWithString.cs
- WebServiceData.cs
- DebugHandleTracker.cs
- Token.cs
- ScrollItemPattern.cs
- DataGridColumnReorderingEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- FilteredReadOnlyMetadataCollection.cs
- SingleAnimationBase.cs
- TraceUtils.cs
- RadioButton.cs
- DefaultBinder.cs
- SchemaNames.cs
- _LazyAsyncResult.cs
- ImageAutomationPeer.cs
- SqlCommandBuilder.cs
- OdbcPermission.cs
- GroupBoxRenderer.cs
- WebPartEditorApplyVerb.cs