private void Team_Clicked(object sender, RoutedEventArgs e) { this.Hide(); TeamWindow teamWindow = new TeamWindow(this); teamWindow.Show(); }
private void OpenTeamWindow(object obj) { TeamWindow TeamWindow = new TeamWindow(); TeamWindow.Show(); mediator.Send(new ActiveTeamMessage { Id = Team.Id }); }