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; } }
private bool ConfirmSelect(TestSetupModel s) { return(true); }
public TestSetupVM() { resourceName = "setup"; TSInfo = new TestSetupModel(); TSInfo.Disciplines = PopulateComboBox(); }