コード例 #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);
        }
コード例 #2
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);

            UpdateBindings();

            ActualizaGastosStock();
        }