Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            P_Center frm = new P_Center(this);

            frm.Show();
            Close();
        }
Example #2
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            P_Center frm = new P_Center();

            frm.Show();
            this.Close();
        }
Example #3
0
 private void Btn_Login_Click(object sender, EventArgs e)
 {
     if (Server.Logics.Patient_Logics.Is_Login_Info_Valid(Tbx_Username.Text, Tbx_Password.Text))
     {
         P_ID = Tbx_Username.Text;
         P_Center frm = new P_Center(this);
         frm.Show();
         Hide();
     }
     else
     {
         MessageBox.Show("用户名或密码错误");
     }
 }