示例#1
0
        public void SelectIndividual()
        {
            SelectMemberWindow dlg = new SelectMemberWindow(StudyUnit);

            dlg.Owner = Application.Current.MainWindow;
            dlg.ShowDialog();
            if (dlg.DialogResult == true)
            {
                MemberVM member = dlg.SelectedMember;
                UpdateIndividual(member);
            }
        }
示例#2
0
 public void SelectMember()
 {
     SelectMemberWindow dlg = new SelectMemberWindow(StudyUnit);
     dlg.Owner = Application.Current.MainWindow;
     dlg.ShowDialog();
     if (dlg.DialogResult == true)
     {
         MemberVM member = dlg.SelectedMember;
         updateMember(member);
     }
 }