Exemple #1
0
 private void SubmitTest()
 {
     SaveCheckedAnswers(Id);
     Timer.Stop();
     BeingSolved.Score = CalculateScore();
     ScoreInfo         = BeingSolved.Score.ToString() + " / " + Test.MaximumPoints.ToString();
     CreateHistoryOfTest();
     Messenger.Default.Send <Helpers.OpenWindowMessage>(
         new Helpers.OpenWindowMessage()
     {
         Type = Helpers.WindowType.kSubmitTest, Argument = TestDuration.ToString()
     });
 }