Пример #1
0
        /// <summary>
        /// 根据全局变量查询当前订单并设置界面显示信息
        /// </summary>
        public void setCurrentOrder()
        {
            DataRow row = orderService.gatherSaleOrder(SystemInfo.CurrentOrderId);

            String amountStr = row["amount"].ToString();

            view.amountLabel.Text         = amountStr;
            view.countLabel.Text          = row["count"].ToString();
            view.disamountLabel.Text      = row["disamount"].ToString();
            SystemInfo.CurrentOrderAmount = Decimal.Parse(row["amount"].ToString());
        }