private void scoreBoard_OnGradeUser(object sender, ScoreboardClickedEvent e) { using (GradingStatus frmStatus = new GradingStatus(judger, "", e.User)) { frmStatus.Owner = Window.GetWindow(this); frmStatus.ShowDialog(); judger.SaveContest(); } }
private void scoreBoard_OnClickSubmissionDetail(object sender, ScoreboardClickedEvent e) { List <string> listpath = judger.GetSubmissionPath(e.Problem, e.User); if (listpath.Count == 0) { MessageBox.Show("Không có bài nộp"); } else { SubmissionDetail submission_detail = new SubmissionDetail(judger); submission_detail.Load(listpath, e.User, e.Problem); submission_detail.ShowDialog(); } }