Exemple #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            DGV_KARDEX.DataSource = _kardex.Source;
            DGV_KARDEX.Refresh();

            DGV_DEPOSITO.DataSource = _deposito.Source;
            DGV_DEPOSITO.Refresh();

            DGV_VENTA.DataSource = _venta.Source;
            DGV_VENTA.Refresh();

            DGV_COMPRA.DataSource = _compra.Source;
            DGV_COMPRA.Refresh();

            DGV_INVENTARIO.DataSource = _inventario.Source;
            DGV_INVENTARIO.Refresh();

            CB_DEPOSITO.DisplayMember = "Nombre";
            CB_DEPOSITO.ValueMember   = "Auto";
            CB_DEPOSITO.DataSource    = _depositos;

            Limpiar();

            L_VERSION.Text = "Ver. " + Application.ProductVersion;
        }
Exemple #2
0
        private void KardexFrm_Load(object sender, EventArgs e)
        {
            CB_DIAS.SelectedIndex = -1;
            L_PRODUCTO.Text       = _controlador.Producto;

            DGV_COMPRA.DataSource = _controlador.Compra;
            DGV_COMPRA.Refresh();

            DGV_VENTA.DataSource = _controlador.Venta;
            DGV_VENTA.Refresh();

            DGV_INV.DataSource = _controlador.Inventario;
            DGV_INV.Refresh();

            ActualizarData();
            L_INVENTARIO_Click(this, System.EventArgs.Empty);
        }