private void buscquedaArticuloManual() { try { frmBusquedaArticuloManual busqueda = new frmBusquedaArticuloManual(); busqueda.ShowDialog(); cargarArticulosEnGrilla(); grdItemsVenta = fg.formatoGrilla(grdItemsVenta, 9); txtCodigoArticulo.Text = String.Empty; txtCodigoArticulo.Focus(); } catch (Exception ex) { fg.mostrarErrorTryCatch(ex); } }
private void buscquedaArticuloManual() { try { frmBusquedaArticuloManual busqueda = new frmBusquedaArticuloManual(); busqueda.ShowDialog(); cargarArticulosEnGrilla(); //============================================================= //IMPORTANTE: HAY QUE HACER QUE LA GRILLA SEA READONLY = FALSE //============================================================= grdItemsVenta = fg.formatoGrilla(grdItemsVenta, 9); //grdItemsVenta = fg.formatoGrilla(grdItemsVenta, 1); //============================================================= txtCodigoArticulo.Text = String.Empty; txtCodigoArticulo.Focus(); } catch (Exception ex) { fg.mostrarErrorTryCatch(ex); } }