Exemplo n.º 1
0
        public void SelectSingleCommodityUnitCost(string commodity)
        {
            UnitCostTotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
            JazzMessageBox.LoadingMask.WaitSubMaskLoading();

            UnitCostCommodityGrid.CheckRowCheckbox(2, commodity, false);
            TimeManager.LongPause();
        }
Exemplo n.º 2
0
        public void SelectCommodityUnitCost(string[] commodityNames = null)
        {
            //total
            if (commodityNames == null || commodityNames.Length <= 0)
            {
                UnitCostTotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
            }
            else //specified commodity
            {
                UnitCostTotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
                //JazzMessageBox.LoadingMask.WaitSubMaskLoading();
                TimeManager.ShortPause();

                foreach (var commodity in commodityNames)
                {
                    UnitCostCommodityGrid.CheckRowCheckbox(2, commodity, false);
                    //JazzMessageBox.LoadingMask.WaitLoading();
                }
            }
        }