private void button4_Click(object sender, EventArgs e) { try { if (txtID.Text != "") { persona.Anular(Convert.ToInt32(txtID.Text)); } else { MessageBox.Show("Seleccione un Personal"); } } catch (Exception) { throw; } }
private void button4_Click(object sender, EventArgs e) { try { if (txtID.Text != "") { persona.Anular(Convert.ToInt32(txtID.Text)); } else { MessageBox.Show("Seleccione un Personal"); } } catch (Exception) { throw; } }