示例#1
0
 private void ListTiposUsuarios()
 {
     try
     {
         TipoUsuarioDataGrid.ItemsSource = tipoUsuario.GetAll();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
示例#2
0
 private void ListTipoUsuarios()
 {
     TipoUsuarioCombox.ItemsSource       = tipoUsuario.GetAll();
     TipoUsuarioCombox.DisplayMemberPath = "Nombre";
     TipoUsuarioCombox.SelectedValuePath = "Id";
     //TipoUsuarioCombox.SelectedIndex = 1;
 }