protected void OnActionAdded(ItemActionEventArgs actionArgs) { if (ActionAdded != null) { ActionAdded(this, actionArgs); } }
private void ActionItemActionAdded(object sender, ItemActionEventArgs e) { // One of our Items has created an action... // Reraise the event OnActionAdded(e); }
private void ActionAdded(object sender, ItemActionEventArgs e) { // One of our Items has created an action... // Add it to the timeline collection which will decide how to display it. ActionTimeline.AddAction(e.ActionId); }