Beispiel #1
0
        public void BindExamCompleteUC(ExamDetailListItem item = null, ContinueExamItem citem = null, string waveFileName = "")
        {
            ViewModelLocator.ExamQsMain._isReload = false;
            var view0 = new ExamCompleteUC();

            Messenger.Default.Send(new ExamNavigateMessage(ExamCompleteVM.ViewName, view0, new ExamCompleteVM(view0.CloseBtnD, item, waveFileName)), "MainExamMainWin");
        }
Beispiel #2
0
        public void BindReloadExamCompleteUC(ExamDetailListItem item = null, ContinueExamItem citem = null, string waveFileName = "")
        {
            ViewModelLocator.ExamQsMain._isReload = true;
            GlobalUser.DoAnswer = true;

            if (GlobalUser.SelectExamAttend.exam_process == 1)
            {
                GlobalUser.DoneScore = ScoreType.ScoreSuccess;
            }

            var view0 = new ExamCompleteUC();

            Messenger.Default.Send(new ExamNavigateMessage(ExamCompleteVM.ViewName, view0, new ExamCompleteVM(view0.CloseBtnD, item, waveFileName)), "MainExamMainWin");
        }