private void btnRegistrar_Click(object sender, EventArgs e) { vistaLoginRegistracion = new VistaLoginRegistracion(); this.Hide(); vistaLoginRegistracion.ShowDialog(); this.Close(); }