示例#1
0
        private void GetQuantityByItem(StockOutViewModel stockOutViewModel)
        {
            stockOutViewModel = stockOutManager.GetQuantityByItem(stockOutViewModel);

            if (stockOutViewModel == null)
            {
                availabelQuantityTextBox.Text = "0";
            }
            else
            {
                availabelQuantityTextBox.Text = stockOutViewModel.Quantity.ToString();
            }
        }