private void btnDelete_Click(object sender, EventArgs e) { if (selectedRol > 0 && rolstatus != "") { rc.delete(selectedRol, rolstatus); _clearInputs(); Notification.Show("Has dado de " + ((rolstatus == "Activo")?"BAJA":"ALTA") + " el rol", AlertType.ok); } }