private void pictureBox1_Click(object sender, EventArgs e) { D_Personal_Center frm = new D_Personal_Center(); Hide(); frm.Show(); }
private void label3_Click(object sender, EventArgs e) { D_Personal_Center frm = new D_Personal_Center(); Hide(); frm.Show(); }
private void Btn_Login_Click(object sender, EventArgs e) { if (Server.Logics.Doctor_Logics.Is_Login_Info_Valid(Tbx_Username.Text, Tbx_Password.Text)) { D_ID = Tbx_Username.Text; D_Personal_Center frm = new D_Personal_Center(); frm.Show(); Hide(); } else { MessageBox.Show("用户名或密码错误!"); } }