using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace Shared.Phone.UserCenter.Safety
|
{
|
/// <summary>
|
/// 安防密码修改完成后,提示已经更新的画面
|
/// </summary>
|
public class PasswordRefreshMsgForm : EditorCommonForm
|
{
|
/// <summary>
|
/// 画面显示(底层会固定调用此方法,借以完成画面创建)
|
/// </summary>
|
/// <param name="msg">提示信息</param>
|
public void ShowForm(string msg)
|
{
|
//设置头部信息
|
base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uChangedPassword));
|
|
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);
|
|
HdlThreadLogic.Current.RunThread(() =>
|
{
|
//五秒后关闭画面
|
System.Threading.Thread.Sleep(5000);
|
Application.RunOnMainThread(() =>
|
{
|
this.CloseForm();
|
});
|
});
|
}
|
}
|
}
|