private void agregarNuevoEstadoActivoToolStripMenuItem_Click(object sender, EventArgs e) { try { FormEstadoActivoInserta form = new FormEstadoActivoInserta(); form.ShowDialog(this); cargarEstadoActivos(); } catch (Exception) { MessageBox.Show("Hubo un error"); } }
private void pictureBox1_Click(object sender, EventArgs e) { try { FormEstadoActivoInserta form = new FormEstadoActivoInserta(); form.ShowDialog(this); cargarEstadoActivos(); } catch (Exception) { MessageBox.Show("Hubo un error"); } }