private void button3_Click(object sender, EventArgs e) { this.Hide(); facultypannel fp = new facultypannel(); fp.Show(); }
public int logininfos(string un, string pa) { if (un == "" || pa == "") { return(0); } else { user = un; pass = pa; if (user == "admin" && pass == "1234") { facultypannel f3 = new facultypannel(); f3.Show(); return(1); } else { return(2); } } }