Пример #1
0
        private void Btn_Rank_Click(object sender, EventArgs e)
        {
            ChangeExternThreeButtonForeColor(sender as Button);

            DownloadInfo di = new DownloadInfo(this);
            string[] aryStrCouponId = di.CouponTop();
            MyMsgBox mb = new MyMsgBox();

            if (aryStrCouponId.Length == 0)
            {
                mb.ShowMsg("排行榜暂时无数据!", 2);
                return;
            }

            LP_ctype[0] = FindCouponById(aryStrCouponId);
            curPage = 1;
            curType = 0;
            theCouponNum = 0;

            ShowCoupon();
        }