Ejemplo n.º 1
0
 //选中
 private void MemberDataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (MemberDataGrid.SelectedItem is Teacher teacher)
     {
         List <TeacherCheckData> checkDatas = dbUtill.GetTeacherCheckDatasByMemberId(teacher.memberId);
         checkDataGrid.ItemsSource = checkDatas;
     }
 }