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

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

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