Exemplo n.º 1
0
 public TeamLite(TeamLite teamLite)
 {
     Id = teamLite.Id;
     ImageUrl = teamLite.ImageUrl;
     Name = teamLite.Name;
     Description = teamLite.Description;
 }
Exemplo n.º 2
0
 private void Team_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Border grid = sender as Border;
     if (grid == null) return;
     var item = grid.DataContext as SC.API.ComInterop.Models.Team;
     try
     {
         SelectedTeam = new TeamLite(item);
     }
     catch (Exception e1)
     { }
 }