private void btnRegisterNewUser_Click(object sender, EventArgs e) { var pgRegister = new pgRegister(); openForms.Add(pgRegister); pgRegister.Show(); }
private void button1_Click(object sender, EventArgs e) { var OpenRegister = new pgRegister(); OpenRegister.Show(); }