//public Point Location { get; } public SimpleMouseEventArgs(SimpleMouseButtons button, int clicks, int x, int y, int delta, int timespan, bool isButtonUp, bool isButtonDown) { Button = button; Clicks = clicks; X = x; Y = y; Delta = delta; TimeSpan = timespan; IsButtonUp = isButtonUp; IsButtonDown = isButtonDown; }
/// <summary> /// Initializes a new instance of the <see cref="T:DesktopSprites.SpriteManagement.SimpleMouseEventArgs"/> class. /// </summary> /// <param name="buttons">The buttons that were pressed.</param> /// <param name="x">The x co-ordinate of the point that was clicked, in relation to the screen.</param> /// <param name="y">The y co-ordinate of the point that was clicked, in relation to the screen.</param> public SimpleMouseEventArgs(SimpleMouseButtons buttons, int x, int y) { Buttons = buttons; X = x; Y = y; }
/// <summary> /// Initializes a new instance of the <see cref="T:DesktopSprites.SpriteManagement.SimpleMouseEventArgs"/> class. /// </summary> /// <param name="buttons">The buttons that were pressed.</param> /// <param name="x">The x co-ordinate of the point that was clicked, in relation to the screen.</param> /// <param name="y">The y co-ordinate of the point that was clicked, in relation to the screen.</param> public SimpleMouseEventArgs(SimpleMouseButtons buttons, int x, int y) { Buttons = buttons; X = x; Y = y; }