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
- Psha1DerivedKeyGenerator.cs
- InvalidateEvent.cs
- MimeBasePart.cs
- ContractValidationHelper.cs
- XmlSchemaFacet.cs
- PolygonHotSpot.cs
- DynamicControlParameter.cs
- ComboBox.cs
- WhitespaceSignificantCollectionAttribute.cs
- IpcClientManager.cs
- Transform3DGroup.cs
- SourceFilter.cs
- OdbcDataReader.cs
- TypeForwardedToAttribute.cs
- SmtpSection.cs
- COM2PictureConverter.cs
- UserControlAutomationPeer.cs
- XmlStreamNodeWriter.cs
- TextServicesLoader.cs
- SignedInfo.cs
- ListenerAdapter.cs
- ControlUtil.cs
- RightsManagementInformation.cs
- GlyphShapingProperties.cs
- SerializationFieldInfo.cs
- SecurityTokenContainer.cs
- DataGridState.cs
- DragStartedEventArgs.cs
- WindowsFormsSectionHandler.cs
- Parser.cs
- HtmlValidationSummaryAdapter.cs
- ConstructorBuilder.cs
- ObjectCloneHelper.cs
- XmlWhitespace.cs
- NullToBooleanConverter.cs
- ScriptResourceHandler.cs
- Models.cs
- PriorityBindingExpression.cs
- TextLineBreak.cs
- ToolStripDropDownClosedEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- DataGridViewDesigner.cs
- NullReferenceException.cs
- MetadataFile.cs
- BezierSegment.cs
- XmlChildNodes.cs
- TemplateGroupCollection.cs
- complextypematerializer.cs
- Completion.cs
- CompositeActivityMarkupSerializer.cs
- BookmarkTable.cs
- HuffCodec.cs
- FlowDocument.cs
- RectangleHotSpot.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DesignTimeVisibleAttribute.cs
- TableLayoutSettings.cs
- PathGradientBrush.cs
- HtmlControlPersistable.cs
- CheckoutException.cs
- OdbcParameter.cs
- SafeEventHandle.cs
- _RequestLifetimeSetter.cs
- DataServiceQueryException.cs
- AuthenticationService.cs
- TCEAdapterGenerator.cs
- IISUnsafeMethods.cs
- StringAnimationUsingKeyFrames.cs
- AccessibleObject.cs
- IncrementalHitTester.cs
- mansign.cs
- TreeNodeStyleCollection.cs
- Subtree.cs
- ReferencedCollectionType.cs
- ObjectListDesigner.cs
- CodeSubDirectoriesCollection.cs
- SystemWebSectionGroup.cs
- ReferenceEqualityComparer.cs
- DataControlImageButton.cs
- FtpCachePolicyElement.cs
- EncodingInfo.cs
- CollectionViewSource.cs
- Listbox.cs
- SrgsElement.cs
- hwndwrapper.cs
- Flowchart.cs
- DelayDesigner.cs
- SynchronizationContext.cs
- DataGridViewCellFormattingEventArgs.cs
- TaskFormBase.cs
- ChangeTracker.cs
- ServiceNotStartedException.cs
- XmlNamespaceDeclarationsAttribute.cs
- OdbcPermission.cs
- StylusPlugInCollection.cs
- Encoder.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- TreeNodeClickEventArgs.cs
- InstalledVoice.cs
- PresentationSource.cs