private void button1_Click(object sender, EventArgs e) { Form staffPortal = new UserLogin(); staffPortal.ShowDialog(); }