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
- OrthographicCamera.cs
- BorderSidesEditor.cs
- MimeObjectFactory.cs
- SetterBase.cs
- ListViewItem.cs
- CorrelationManager.cs
- HierarchicalDataBoundControlAdapter.cs
- FileNotFoundException.cs
- HashAlgorithm.cs
- SqlCacheDependencyDatabase.cs
- ContentIterators.cs
- AnchoredBlock.cs
- KeyGestureConverter.cs
- DefinitionUpdate.cs
- EditorZone.cs
- WebServiceEnumData.cs
- EncoderParameter.cs
- CodeBlockBuilder.cs
- SafeRightsManagementSessionHandle.cs
- ThreadSafeList.cs
- CustomTypeDescriptor.cs
- Link.cs
- SqlCacheDependencyDatabaseCollection.cs
- ToolStripDropTargetManager.cs
- WebServiceMethodData.cs
- SafeNativeMethods.cs
- BookmarkScopeManager.cs
- CustomErrorsSectionWrapper.cs
- SamlAssertionKeyIdentifierClause.cs
- PrintDocument.cs
- XmlNamespaceMapping.cs
- DiscoveryDocumentSearchPattern.cs
- UidManager.cs
- TextClipboardData.cs
- LicenseContext.cs
- LinkGrep.cs
- TextElementAutomationPeer.cs
- Assert.cs
- ResourceManagerWrapper.cs
- SvcFileManager.cs
- WizardForm.cs
- TraceSection.cs
- MachineKeyConverter.cs
- Column.cs
- UrlMappingsSection.cs
- ErrorInfoXmlDocument.cs
- RequestTimeoutManager.cs
- control.ime.cs
- RequiredFieldValidator.cs
- OdbcParameterCollection.cs
- TextServicesHost.cs
- DataServiceSaveChangesEventArgs.cs
- ItemsPresenter.cs
- MethodAccessException.cs
- EdmProperty.cs
- CodeIndexerExpression.cs
- BatchWriter.cs
- LineSegment.cs
- ExpressionTextBoxAutomationPeer.cs
- SerializationEventsCache.cs
- GridViewColumn.cs
- Dictionary.cs
- UniqueTransportManagerRegistration.cs
- MarkerProperties.cs
- DbDataSourceEnumerator.cs
- HwndProxyElementProvider.cs
- MsmqIntegrationBindingElement.cs
- WinFormsSpinner.cs
- XmlTextWriter.cs
- ValueProviderWrapper.cs
- ListViewItemSelectionChangedEvent.cs
- ProfileService.cs
- MetafileHeader.cs
- HttpGetProtocolImporter.cs
- ShaperBuffers.cs
- ViewStateException.cs
- WinEventHandler.cs
- GestureRecognizer.cs
- ADMembershipUser.cs
- PrePrepareMethodAttribute.cs
- UniqueSet.cs
- SingleKeyFrameCollection.cs
- SqlProcedureAttribute.cs
- DbConnectionStringBuilder.cs
- StyleHelper.cs
- OleDbConnectionFactory.cs
- Pkcs9Attribute.cs
- XmlUtil.cs
- RSAPKCS1SignatureDeformatter.cs
- FileLevelControlBuilderAttribute.cs
- BezierSegment.cs
- InitializingNewItemEventArgs.cs
- IssuedTokenClientElement.cs
- DataObjectPastingEventArgs.cs
- SoapIgnoreAttribute.cs
- FloaterParaClient.cs
- FileSystemInfo.cs
- EncoderBestFitFallback.cs
- SplineQuaternionKeyFrame.cs
- BaseCodePageEncoding.cs