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;
            }
        }
示例#2
0
 public void DeleteRally(ResultListItem r)
 {
     Manager.DeleteRally(r.Rally);
 }