黄学彪
2020-09-18 c7df85937f73fb347ee0b19e9c052d2d00a6df6c
ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserInformationForm.cs
@@ -106,6 +106,7 @@
            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;
@@ -121,7 +122,7 @@
            });
            //输入值改变事件(2020.04.05:以前都定死说按回车键才更新,现在又说名字没有同步
            //所以才出此下策,添加这个事件)
            txtName.TextChangeEventHandler += (sender, value) =>
            txtName.TextChangedEvent += (value) =>
            {
                UserCenterResourse.UserInfo.UserName = value;
            };