This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
CC-Functions/W32/Hooks/MouseHookEventArgs.cs

19 lines
457 B
C#
Raw Normal View History

2019-11-10 12:28:29 +01:00
using System;
using System.Drawing;
2019-12-22 16:58:16 +01:00
namespace CC_Functions.W32.Hooks
2019-11-10 12:28:29 +01:00
{
2019-11-29 21:27:24 +01:00
public class MouseHookEventArgs : EventArgs
{
2019-11-10 12:28:29 +01:00
public MouseHookEventArgs(Point point, MouseHook.MouseMessages message)
{
Point = point;
Message = message;
}
public Point Point { get; }
public MouseHook.MouseMessages Message { get; }
2019-11-29 21:27:24 +01:00
2019-12-22 16:58:16 +01:00
public override string ToString() => Message + "; " + Point;
2019-11-10 12:28:29 +01:00
}
2019-11-29 21:27:24 +01:00
}