public MatchSelectedEventArgs(Model.API.matches_match oMatch, Model.API.world oWorld) { Match = oMatch; World = oWorld; }
/// <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)); }