示例#1
0
 protected virtual void OnActionRecorded(MouseEvent e)
 {
     var handler = ActionRecorded;
     if (handler != null)
     {
         handler(this, e);
     }
 }
示例#2
0
 private void MouseRecorder_ActionRecorded(object sender, MouseEvent e)
 {
     AddEvent(e);
     LogWindowInfo();
     OnLogAction(string.Format("Mouse Click: X: {0} Y: {1} Count: {2} Button: {3}", e.X, e.Y, e.Count, e.Button));
 }