// This code is distributed under MIT license. // Copyright (c) 2015 George Mamaladze // See license.txt or http://opensource.org/licenses/mit-license.php using System; using System.Windows.Forms; namespace xClient.Core.MouseKeyHook { /// /// Provides all mouse events. /// public interface IMouseEvents { /// /// Occurs when the mouse pointer is moved. /// event MouseEventHandler MouseMove; /// /// Occurs when the mouse pointer is moved. /// /// /// This event provides extended arguments of type enabling you to /// suppress further processing of mouse movement in other applications. /// event EventHandler MouseMoveExt; /// /// Occurs when a click was performed by the mouse. /// event MouseEventHandler MouseClick; /// /// Occurs when the mouse a mouse button is pressed. /// event MouseEventHandler MouseDown; /// /// Occurs when the mouse a mouse button is pressed. /// /// /// This event provides extended arguments of type enabling you to /// suppress further processing of mouse click in other applications. /// event EventHandler MouseDownExt; /// /// Occurs when a mouse button is released. /// event MouseEventHandler MouseUp; /// /// Occurs when a mouse button is released. /// /// /// This event provides extended arguments of type enabling you to /// suppress further processing of mouse click in other applications. /// event EventHandler MouseUpExt; /// /// Occurs when the mouse wheel moves. /// event MouseEventHandler MouseWheel; /// /// Occurs when a mouse button is double-clicked. /// event MouseEventHandler MouseDoubleClick; } }