private void BtnEliminar_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtId.Text) && txtId.Text != "0")
            {
                txtId.Focus();
                errorProvider1.SetError(txtCedula, MessageBox.Show("Debe seleccionar un empleado", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error).ToString());
                return;
            }
            int id = Convert.ToInt32(txtId.Text);

            EmpleadoDAO dao = new EmpleadoDAO();
            {
                dao.DeleteEmpleado(id);
                dao.Submit();
                MessageBox.Show("Registro eliminado exitosamente");
                LimpiarCampos();
            }
        }