// Defines what happens when Login button is pressed. private void adminLogin_Click(object sender, EventArgs e) { LoginPanel my = new LoginPanel(this, this.myconn); my.ShowDialog(); }
// Defines what happens when Login button is pressed. private void adminLogin_Click(object sender, EventArgs e) { LoginPanel my = new LoginPanel(this, this.myconn); my.ShowDialog(); }