//成绩快速查询 private void tsmiQuery_Click(object sender, EventArgs e) { CloseForm(); FrmScoreQuery objForm = new FrmScoreQuery(); OpenForm(objForm); }
private void tsbQuery_Click(object sender, EventArgs e) { if (objFrmScoreQuery == null) { objFrmScoreQuery = new FrmScoreQuery(); objFrmScoreQuery.Show(); } else { objFrmScoreQuery.Activate(); objFrmScoreQuery.WindowState = FormWindowState.Normal; } }
private void tsmiQuery_Click(object sender, EventArgs e) { if (objFrmScore == null) { objFrmScore = new FrmScoreQuery(); objFrmScore.Show(); } else { objFrmScore.Activate();//激活只能在最小化的时候起作用 objFrmScore.WindowState = FormWindowState.Normal; } }
private void TsmiQuery_Click(object sender, EventArgs e) { if (frmScoreQuery == null) { frmScoreQuery = new FrmScoreQuery(); frmScoreQuery.ShowDialog(); } else { frmScoreQuery.Activate(); frmScoreQuery.WindowState = FormWindowState.Normal; } }
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; } }
//成绩快速查询【嵌入显示】 private void tsmiQuery_Click(object sender, EventArgs e) { CloseForm(); FrmScoreQuery objForm = new FrmScoreQuery(); this.OpenForm(objForm); }