/// <summary> /// Appends an event to the end of this macro. /// </summary> /// <param name="newEvent">The event to append.</param> public void AddMouseEvent(MacroEvent newEvent) { events.Add(newEvent); OnMouseTrigger(newEvent); }
/// <summary> /// Appends an event to the end of this macro. /// </summary> /// <param name="newEvent">The event to append.</param> public void AddEvent(MacroEvent newEvent) { events.Add(newEvent); }
/// <summary> /// Appends an event to the end of this macro. /// </summary> /// <param name="newEvent">The event to append.</param> public void AddKeyEvent(MacroEvent newEvent) { events.Add(newEvent); OnKeyTrigger(newEvent); }