private void cmdBack_Click(object sender, EventArgs e) { LoginD d = new LoginD(); this.Hide(); d.Show(); }
private void radioButtonLDoctor_CheckedChanged(object sender, EventArgs e) { LoginD login = new LoginD(); this.Hide(); login.Show(); }
private void cmdLogout_Click(object sender, EventArgs e) { LoginD logind = new LoginD(); this.Hide(); logind.Show(); }
private void linklblLogin_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { localhost.Service1 myserver = new localhost.Service1(); bool login; bool loginpassed; myserver.logina(txtCNIC.Text, txtConfirmPassword.Text, out login, out loginpassed); if (login) { Login l = new Login(); this.Hide(); l.Show(); } myserver.loginp(txtCNIC.Text, txtConfirmPassword.Text, out login, out loginpassed); if (login) { Login l = new Login(); this.Hide(); l.Show(); } else { LoginD k = new LoginD(); this.Hide(); k.Show(); } }