private void button12_Click(object sender, EventArgs e) { updateprofile x = new updateprofile(); x.loginType("admin", loginusername); x.Show(); }
private void button1_Click_2(object sender, EventArgs e) { updateprofile x = new updateprofile(); x.loginType("pharmasist", loginusername); x.Show(); }