예제 #1
0
 public MatchSelectedEventArgs(Model.API.matches_match oMatch, Model.API.world oWorld)
 {
     Match = oMatch;
     World = oWorld;
 }
예제 #2
0
 /// <summary>
 /// Selecting a Match
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void On_MatchSelectionClick(object sender, MouseButtonEventArgs e)
 {
     Model.API.world oWorld = Match.worlds.Find(x => x.color.ToLower() == ((Label)sender).Tag.ToString());
     EventExtensions.RaiseEvent(MatchSelected, this, new MatchSelectedEventArgs(Match, oWorld));
 }