示例#1
0
        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);
            }
        }
示例#2
0
        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);
            }
        }