Ejemplo n.º 1
0
        protected override void AddStockAction()
        {
            if (_entity.Partidas.Count == 0)
            {
                PgMng.ShowInfoException(Resources.Messages.NO_PRODUCTS_ASSOC);
                return;
            }

            AddStockInputForm form = new AddStockInputForm(_entity);

            form.ShowDialog(this);

            Stock_BS.ResetBindings(false);
        }
        protected override void AddStockAction()
        {
            if (_entity.Partidas.Count == 0)
            {
                PgMng.ShowInfoException(Resources.Messages.NO_PRODUCTS_ASSOC);
                return;
            }

            AddStockInputForm form = new AddStockInputForm(_entity);

            form.ShowDialog(this);

            UpdateBindings();

            ActualizaGastosStock();
        }