internal ConsoleMouseEventArgs(ref ConsoleMouseEventInfo info) { x = info.MousePosition.X; y = info.MousePosition.Y; buttonState = info.ButtonState; keyState = info.ControlKeyState; eventFlags = info.EventFlags; }
public ConsoleMouseEventArgs(ConsoleMouseEventType eventFlags, int x, int y, ConsoleMouseButtonState buttonState, ConsoleControlKeyState keyState) { this.eventFlags = eventFlags; this.x = x; this.y = y; this.buttonState = buttonState; this.keyState = keyState; }