Example #1
0
 public void setTeamIndex(CompiledTeamIndex index)
 {
     foreach (CompiledTeamIndex c in _connection.Table <CompiledTeamIndex>())
     {
         _connection.Delete <CompiledTeamIndex>(c.ID);
     }
     _connection.Insert(index);
 }
Example #2
0
 private void gridClicked(object sender, ItemClickEventArgs e)
 {
     //make sure a team number on the left was selected
     if (e.Position % 7 == 0 && e.Position != 0)
     {
         CompiledTeamIndex currentIndex = new CompiledTeamIndex((e.Position / 7) - 1);
         //set where the team is in the compiled event data multidimensional lsit
         eData.setTeamIndex(currentIndex);
         StartActivity(typeof(DetailedTeamData));
     }
     else
     {
         Popup.Single("Alert", "Please click a team number to view detailed data", "OK", this);
     }
 }