private void button1_Click(object sender, EventArgs e) { try { String cedula = textBox1.Text; if (controller.eliminarCiudadano(cedula)) { MessageBox.Show("Ciudadano eliminado correctamente!"); limpiar(); } else { MessageBox.Show("Ocurrió un error al eliminar al ciudadano"); } } catch (Exception ex) { MessageBox.Show("Error! " + ex); } }