Beispiel #1
0
        public void SelectCommodity(string commodityNames = null)
        {
            //total
            if (commodityNames == null)
            {
                TotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
            }
            else //specified commodity
            {
                TotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
                JazzMessageBox.LoadingMask.WaitSubMaskLoading();

                CommodityGrid.CheckRowCheckbox(2, commodityNames, false);
                //JazzMessageBox.LoadingMask.WaitLoading();
            }
        }
Beispiel #2
0
        public void SelectCommodity(string[] commodityNames)
        {
            //total
            if (commodityNames == null || commodityNames.Length <= 0)
            {
                TotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
            }
            else //specified commodity
            {
                TotalCommotidyGrid.CheckRowCheckbox(2, "[email protected]", false);
                //JazzMessageBox.LoadingMask.WaitSubMaskLoading();
                TimeManager.ShortPause();

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