mirror of
https://github.com/LorenzCK/OnTopReplica.git
synced 2024-05-13 17:03:27 +12:00
33 lines
828 B
C#
33 lines
828 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
namespace OnTopReplica {
|
|
/// <summary>
|
|
/// EventArgs structure for clicks on a cloned window.
|
|
/// </summary>
|
|
public class CloneClickEventArgs : EventArgs {
|
|
|
|
public Point ClientClickLocation { get; set; }
|
|
|
|
public bool IsDoubleClick { get; set; }
|
|
|
|
public MouseButtons Buttons { get; set; }
|
|
|
|
public CloneClickEventArgs(Point location, MouseButtons buttons) {
|
|
ClientClickLocation = location;
|
|
Buttons = buttons;
|
|
IsDoubleClick = false;
|
|
}
|
|
|
|
public CloneClickEventArgs(Point location, MouseButtons buttons, bool doubleClick) {
|
|
ClientClickLocation = location;
|
|
Buttons = buttons;
|
|
IsDoubleClick = doubleClick;
|
|
}
|
|
|
|
}
|
|
}
|