private void BtnRoles_Click(object sender, EventArgs e) { if (roles == null) { roles = new V_Roles(); roles.FormClosed += new FormClosedEventHandler(cerrar_ventana_roles); roles.Show(); } else { roles.Activate(); } }
private void cerrar_ventana_roles(object sender, FormClosedEventArgs e) { roles = null; }