| | |
| | | /// <summary>
|
| | | /// 安防密码修改完成后,提示已经更新的画面
|
| | | /// </summary>
|
| | | public class PasswordRefreshMsgForm : UserCenterCommonForm
|
| | | public class PasswordRefreshMsgForm : EditorCommonForm
|
| | | {
|
| | | /// <summary>
|
| | | /// 画面显示(底层会固定调用此方法,借以完成画面创建)
|
| | |
| | | //设置头部信息 |
| | | base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uChangedPassword));
|
| | |
|
| | | var txtMsg = new MsgViewControl(1000, true); |
| | | var txtMsg = new NormalViewControl(1000, true); |
| | | txtMsg.Y = Application.GetRealHeight(320); |
| | | txtMsg.Text = msg; |
| | | txtMsg.Gravity = Gravity.CenterHorizontal; |
| | | txtMsg.TextAlignment = TextAlignment.Center; |
| | | bodyFrameLayout.AddChidren(txtMsg); |
| | | |
| | | new System.Threading.Thread(() => |
| | | HdlThreadLogic.Current.RunThread(() => |
| | | {
|
| | | //五秒后关闭画面
|
| | | System.Threading.Thread.Sleep(5000);
|
| | |
| | | {
|
| | | this.CloseForm();
|
| | | });
|
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | }); |
| | | }
|
| | | }
|
| | | }
|