示例#1
0
 private void tsmiQuery_Click(object sender, EventArgs e)
 {
     if (objFrmScore == null)
     {
         objFrmScore = new FrmScoreQuery();
         objFrmScore.Show();
     }
     else
     {
         objFrmScore.Activate();//激活只能在最小化的时候起作用
         objFrmScore.WindowState = FormWindowState.Normal;
     }
 }
示例#2
0
 private void tsbQuery_Click(object sender, EventArgs e)
 {
     if (objFrmScoreQuery == null)
     {
         objFrmScoreQuery = new FrmScoreQuery();
         objFrmScoreQuery.Show();
     }
     else
     {
         objFrmScoreQuery.Activate();
         objFrmScoreQuery.WindowState = FormWindowState.Normal;
     }
 }
示例#3
0
 private void TsmiQuery_Click(object sender, EventArgs e)
 {
     if (frmScoreQuery == null)
     {
         frmScoreQuery = new FrmScoreQuery();
         frmScoreQuery.ShowDialog();
     }
     else
     {
         frmScoreQuery.Activate();
         frmScoreQuery.WindowState = FormWindowState.Normal;
     }
 }
示例#4
0
 private void tsmiQuery_Click(object sender, EventArgs e)
 {
     if (objFrmScoreManage == null)
     {
         objFrmScoreQuery = new FrmScoreQuery();
         objFrmScoreQuery.Show();
         // objFrmAddStudent.ShowDialog();
     }
     else
     {
         objFrmScoreQuery.Activate();//??????????????
         objFrmScoreQuery.WindowState = FormWindowState.Normal;
     }
 }