public void ListItemSelected(SelectionChangedEventArgs e) { ResultListItem item = e.AddedItems.Count > 0 ? (ResultListItem)e.AddedItems[0] : null; if (item != null && Manager.ActiveRally != item.Rally) { Manager.ActiveRally = item.Rally; } }
public void DeleteRally(ResultListItem r) { Manager.DeleteRally(r.Rally); }