Beispiel #1
0
 private void btnLogOut_Click(object sender, EventArgs e)
 {
     tmDJS.Stop();
     dgvHistoryNum.Rows.Clear();
     Account       = null;
     plLog.Visible = true;
     NextOpenInfo  = null;
     LastOpenInfo  = null;
 }
Beispiel #2
0
        void showNextOpenInfo()
        {
            var idList = new ArrayOfInt();

            idList.Add(LotteryId);
            var next = Tools.client.GetLotteryNextInfo(LogGuid, idList);

            if (next != null && next.Count > 0)
            {
                if (NextOpenInfo == null || NextOpenInfo.Expect != next[0].Expect)
                {
                    NextOpenInfo = next[0];
                }
                else
                {
                    return;
                }
                lblNextExceptInfo.Text = string.Format("{0}-{1} 距离开奖时间还剩", NextOpenInfo.Expect.Substring(0, 8), NextOpenInfo.Expect.Substring(8));
                dtNow         = Tools.client.GetDateTimeNow();
                betweenExcept = (next[0].ScheduleOpenTime - dtNow);
                showDJS();
                tmDJS.Start();
            }
        }