public void RightClick() { lock (ScheduledEvents) { ScheduledEvents.Add(new ScheduledMouseEvent() { Command = MouseEventArgs.RightDown(), FireTime = 0, }); ScheduledEvents.Add(new ScheduledMouseEvent() { Command = MouseEventArgs.RightUp(), FireTime = TotalElapsedMilli + CLICK_DOWN_MILLI, }); } }