예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            FrmStudent frm = new FrmStudent();

            frm.Owner = this;
            this.Hide();
            frm.ShowDialog();
        }
예제 #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     if (progressbarLogin.Value < progressbarLogin.Maximum)
     {
         progressbarLogin.Value++;
     }
     else
     {
         timer1.Enabled = false;
         this.Hide();
         MessageBox.Show(tutorId.Text[0].ToString() + "老师,欢迎使用本系统");
         FrmStudent f1 = new FrmStudent();
         f1.ShowDialog();
         //进度条加载完弹出使用界面
     }
 }