Esempio n. 1
0
 private void btnQuiz_Click(object sender, EventArgs e)
 {
     if (StudentIndex < RandSID.Count)
     {
         Mark frmMark = new Mark(RandSID[StudentIndex]);
         frmMark.ShowDialog();
         StudentIndex++;
     }
     else
     {
         MessageBox.Show("û��ѧ����","����",MessageBoxButtons.OK,MessageBoxIcon.Error);
     }
 }
Esempio n. 2
0
 protected void PopupMark(string pSID)
 {
     Mark frmMark = new Mark(pSID);
     if (!frmMark.IsDisposed)
         frmMark.ShowDialog();
 }