Ejemplo n.º 1
0
 private void OnEdit()
 {
     if ( SelectedTeam != null )
     {
         var teamId = SelectedTeam.ID;
         var dialog = new EditTeamView( teamId );
         dialog.Show();
     }
     else
         ShowDialog( "Team not selected" );
 }
Ejemplo n.º 2
0
 private void BtnNewEventClick(object sender, RoutedEventArgs e)
 {
     var dialog = new EditTeamView(0);
     dialog.Show();
 }