public ExamQuestionReportPage(List<Question> list, int selectedId, Session currentSession)
 {
     //BindingContext = mgr;
     InitializeComponent();
     //for  test only
     Initialize(list, selectedId);
     this.CurrentSession = currentSession;
     ScoreDetail.Text = "Score - "  + string.Format("{0:0.##}", currentSession.SessionResult.PercentScore) + "%";
 }
예제 #2
0
        private Session PrepSessionData(Result result, QuestionSessionManager mgr)
        {
            Session thisSession = new Session
            {
                SessionResult = result,
                SessionQuestion = mgr.QuestionList
            };

            return thisSession;
        }