Ejemplo n.º 1
0
 private void btnNovoTime_Click(object sender, RoutedEventArgs e)
 {
     try {
         frmCadastrarTime frm = new frmCadastrarTime();
         frm.Closed += (s, args) => CarregarTimes();
         frm.Show();
     } catch (Exception exp) {
         MessageBox.Show(exp.Message);
     }
 }
        private void btnCriarTime_Click(object sender, RoutedEventArgs e)
        {
            frmCadastrarTime frm = new frmCadastrarTime();

            frm.Show();
        }