Ejemplo n.º 1
0
        public bool timeoutSubtitutionRefresh()
        {
            DataTable dt = Common.dbSetInfo(Common.g_Game.GetCurSet());

            if (dt == null)
            {
                Debug.Assert(false);
                return(false);
            }

            _labSubA.Text  = Common.Str2Int(dt.Rows[0]["F_SubtitutionA"].ToString()).ToString();
            _labSubB.Text  = Common.Str2Int(dt.Rows[0]["F_SubtitutionB"].ToString()).ToString();
            _labTimeA.Text = Common.Str2Int(dt.Rows[0]["F_TimeoutCountA"].ToString()).ToString();             //确保为数字
            _labTimeB.Text = Common.Str2Int(dt.Rows[0]["F_TimeoutCountB"].ToString()).ToString();

            return(true);
        }