private void VistasRegistro_OnRegistro(object sender, EventArgs e) { RegistrarseForm registrarseForm = new RegistrarseForm(); RegistrarseController registrarseController = new RegistrarseController(registrarseForm); registrarseForm.Show(); loginForm.Hide(); }
public RegistrarseController(RegistrarseForm registrarseForm) { this.registrarseForm = registrarseForm; this.registrarseForm.OnRegistrarse += VistasRegistrarse_OnRegistrarse; }