Exemple #1
0
        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;
        }
Exemple #2
0
        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;
        }
Exemple #3
0
 public frmTeacher()
 {
     InitializeComponent();
     this.EnableGlass = false;
     frmt = this;
 }
Exemple #4
0
 private void buttonItem2_Click(object sender, EventArgs e)
 {
     frmTeacher ft = new frmTeacher();
     ft.Show();
 }
Exemple #5
0
 public frmTeacher()
 {
     InitializeComponent();
     this.EnableGlass = false;
     frmt             = this;
 }
Exemple #6
0
 private void toolStripMenuItem2_Click(object sender, EventArgs e)
 {
     frmTeacher ft = new frmTeacher();
     ft.Show();
 }