| | |
| | | bodyFrameLayout.AddChidren(row);
|
| | |
|
| | | //联系电话
|
| | | var txtPhone = new PhoneAreaControl();
|
| | | txtPhone.Gravity = Gravity.CenterVertical;
|
| | | row.AddChidren(txtPhone);
|
| | | txtPhone.InitControl(this);
|
| | | txtPhone.txtPhone.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputContactWay);
|
| | | //var txtPhone = new PhoneAreaControl();
|
| | | //txtPhone.Gravity = Gravity.CenterVertical;
|
| | | //row.AddChidren(txtPhone);
|
| | | //txtPhone.InitControl(this);
|
| | | //txtPhone.txtPhone.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputContactWay);
|
| | |
|
| | | //提示信息
|
| | | this.txtMsg = new NormalViewControl(800, true);
|
| | |
| | | }
|
| | |
|
| | | //检测手机号格式
|
| | | if (UserCenterLogic.CheckPhoneNumber(phone, areaCode) == false)
|
| | | if (HdlCheckLogic.Current.CheckPhoneNumber(phone, areaCode) == false)
|
| | | {
|
| | | //这不是一个有效的手机号
|
| | | txtMsg.Text = Language.StringByID(R.MyInternationalizationString.uThisIsNotPhoneNumberType);
|