private void btnEliminar_Click(object sender, EventArgs e) { try { MenuBL menu = new MenuBL(); menu.Eliminar(Convert.ToInt32(txtIdMenu.Text)); } catch (Exception ex) { MessageBox.Show("ERROR" + ex.Message); } }