| | |
| | | while (remainTine > 0 && this.Parent != null)
|
| | | {
|
| | | System.Threading.Thread.Sleep(1000);
|
| | | Application.RunOnMainThread(() =>
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | this.btnTimeView.Text = this.GetTimeString(remainTine, hourText, minuText, secondText);
|
| | | });
|
| | | }, ShowErrorMode.NO);
|
| | | remainTine--;
|
| | | }
|
| | | Application.RunOnMainThread(() =>
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | //倒计时结束时,时间图标显示
|
| | | this.btnTimeIcon.Visible = true;
|
| | |
| | | //直接开启Loading特效
|
| | | this.StartLoadingApreal();
|
| | | this.CanClick = true;
|
| | | });
|
| | | }, ShowErrorMode.NO);
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | }
|