| | |
| | | rowName.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uName), 350);
|
| | | //名称输入
|
| | | var txtName = new TextInputControl(700, true);
|
| | | txtName.MaxByte = 36;//限制36个字节
|
| | | txtName.UseFocusColor = true;
|
| | | txtName.X = bodyFrameLayout.Width - Application.GetRealWidth(700) - ControlCommonResourse.XXLeft;
|
| | | txtName.Gravity = Gravity.CenterVertical;
|
| | |
| | | });
|
| | | //输入值改变事件(2020.04.05:以前都定死说按回车键才更新,现在又说名字没有同步
|
| | | //所以才出此下策,添加这个事件)
|
| | | txtName.TextChangeEventHandler += (sender, value) =>
|
| | | txtName.TextChangedEvent += (value) =>
|
| | | {
|
| | | UserCenterResourse.UserInfo.UserName = value;
|
| | | };
|