Ejemplo n.º 1
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);
        }
Ejemplo n.º 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);
 }