private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) { progressBarRead.Value = progressBarRead.Maximum; buttonX2.Enabled = true; buttonX3.Enabled = true; frmPlan.frmpr.NewMethod(); if (MessageBox.Show("成功导入,是否马上补充填写对应教师信息", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) { frmTeacher frmt = new frmTeacher(); frmt.Show(); this.Close(); } progressBarRead.Value = 0; }
public frmTeacher() { InitializeComponent(); this.EnableGlass = false; frmt = this; }
private void buttonItem2_Click(object sender, EventArgs e) { frmTeacher ft = new frmTeacher(); ft.Show(); }
private void toolStripMenuItem2_Click(object sender, EventArgs e) { frmTeacher ft = new frmTeacher(); ft.Show(); }