示例#1
0
 private void btnScore_Click(object sender, EventArgs e)
 {
     if (txtSno.Text == "")
     {
         MessageBox.Show("请选择要查看的学生!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
     else
     {
         ScoreMagFrm.S_no_Search = Convert.ToInt32(txtSno.Text);
         ScoreMagFrm frm = new ScoreMagFrm();
         frm.Show();
     }
 }
示例#2
0
 private void tsbScoreMsg_Click(object sender, EventArgs e)
 {
     if (is_Verify())
     {
         if (Info_Verify())
         {
             ScoreMagFrm.S_no_Search = MySystem.Program.UserNo;
             ScoreMagFrm frm = new ScoreMagFrm();
             frm.MdiParent = this;
             frm.Show();
             tssMsg.Text = frm.Text;
         }
         else
         {
             MessageBox.Show("请先完善学籍信息", "提示!", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
     }
     else
     {
         MessageBox.Show("身份未通过管理员验证!若有疑问,请邮件消息至管理员邮箱:[email protected]", "提示!", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }