private void EDITAR_INVENTARIO(object sender, EventArgs e) { if (tblInventario.CurrentCell != null && tblInventario.SelectedRows.Count == 1) { SelectedArticulo(); ItemInicial inv = new ItemInicial(SELECTED); inv.ShowDialog(); } else { MessageBox.Show("SELECCIONE ARTICULO A EDITAR", "VALIDACION DE DATOS", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void AGREGAR_ARTICULO(object sender, EventArgs e) { ItemInicial inv = new ItemInicial(); inv.ShowDialog(); }