| | |
| | | btnErrorMsg.TextAlignment = TextAlignment.Center;
|
| | | btnErrorMsg.TextColor = 0xfff75858;
|
| | | btnErrorMsg.TextID = R.MyInternationalizationString.uVerificationCodeErrorInputAgain;
|
| | | btnErrorMsg.IsBold = true;
|
| | | bodyFrameLayout.AddChidren(btnErrorMsg);
|
| | | btnErrorMsg.Visible = false;
|
| | |
|
| | |
| | | btnNext.CanClick = false;
|
| | | //?s后重发
|
| | | string repeat = Language.StringByID(R.MyInternationalizationString.RepeatSend1);
|
| | | //有效时间300秒
|
| | | int waitime = 300;
|
| | | //有效时间60秒
|
| | | int waitime = 60;
|
| | | btnNext.Text = waitime + "s" + repeat;
|
| | |
|
| | | new System.Threading.Thread(() =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | while (this.Parent != null)
|
| | | {
|
| | |
| | | System.Threading.Thread.Sleep(1000);
|
| | | if (waitime == 0)
|
| | | {
|
| | | this.canCheckCode = false;
|
| | | Application.RunOnMainThread(() =>
|
| | | {
|
| | | if (btnNext != null)
|
| | |
| | | }
|
| | | });
|
| | | }
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | |
|
| | | #endregion
|