Exemplo n.º 1
0
 public QuestionVM(TestSetupModel info)
 {
     try
     {
         selectionID    = info.Selection.id;
         timer          = new DispatcherTimer();
         timer.Interval = new TimeSpan(0, 0, 0, 1, 0);
         timer.Tick    += Timer_Tick;
         timer.Start();
         resourceName = "question";
         questionInfo = new QuestionModel();
     }
     catch
     {
         resourceName = "setup";
         var ts = new TestSetupVM();
         return;
     }
 }
Exemplo n.º 2
0
 private bool ConfirmSelect(TestSetupModel s)
 {
     return(true);
 }
Exemplo n.º 3
0
 public TestSetupVM()
 {
     resourceName       = "setup";
     TSInfo             = new TestSetupModel();
     TSInfo.Disciplines = PopulateComboBox();
 }