private void mlnkModificar_Click(object sender, EventArgs e) { try { frmBodegaMant vFrmBodegaMant = new frmBodegaMant(); vFrmBodegaMant.Show(); Close(); } catch (Exception ex) { throw ex; } }
private void mgvBodegas_KeyDown(object sender, KeyEventArgs e) { try { switch (e.KeyCode) { case Keys.Enter: frmBodegaMant vFrmBodegaMant = new frmBodegaMant(); vFrmBodegaMant.Show(); Close(); break; } } catch (Exception ex) { throw ex; } }