private void button6_Click(object sender, EventArgs e) { this.Hide(); //hides the current form Manager_Create_Model mpc = new Manager_Create_Model(user); // maybe send the userType with it mpc.FormClosed += (s, args) => this.Close(); // close the login Form mpc.Show(); }
private void reloadPage() { this.Hide(); //hides the current form Manager_Create_Model mpc = new Manager_Create_Model(user); mpc.FormClosed += (s, args) => this.Close(); mpc.Show(); }