예제 #1
0
파일: CodeFormVM.cs 프로젝트: ssjda-ddi/EDO
        public void AddFromCategoryScheme()
        {
            if (SelectedCodeScheme == null)
            {
                return;
            }
            SelectCategorySchemeWindow dlg = new SelectCategorySchemeWindow(StudyUnit);

            dlg.Owner = Application.Current.MainWindow;
            dlg.ShowDialog();
            if (dlg.DialogResult != true)
            {
                return;
            }
            AddCodes(dlg.SelectedCategories);
        }
예제 #2
0
 public void AddFromCategoryScheme()
 {
     if (SelectedCodeScheme == null)
     {
         return;
     }
     SelectCategorySchemeWindow dlg = new SelectCategorySchemeWindow(StudyUnit);
     dlg.Owner = Application.Current.MainWindow;
     dlg.ShowDialog();
     if (dlg.DialogResult != true)
     {
         return;
     }
     AddCodes(dlg.SelectedCategories);
 }