| | |
| | | void EmailForgot (FrameLayout FrameLayoutView) |
| | | { |
| | | FrameLayoutView.RemoveAll (); |
| | | var viewX = (Application.GetRealWidth (640) - Application.GetMinRealAverage (500)) / 2; |
| | | EditText Register_Email_Address = new EditText () { |
| | | Width = Application.GetRealWidth (500), |
| | | Height = Application.GetRealHeight (85), |
| | | X = Application.GetRealWidth (70), |
| | | Width = Application.GetMinRealAverage (500), |
| | | Height = Application.GetMinRealAverage (85), |
| | | X = viewX, |
| | | Y = Application.GetRealHeight (100), |
| | | UnSelectedImagePath = "Register/Register_Email_Address.png", |
| | | PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor, |
| | |
| | | try { |
| | | Register_Send.IsSelected = false; |
| | | |
| | | var reg = new Regex ("^\\s*([A-Za-z0-9_-]+(\\.\\w+)*@(\\w+\\.)+\\w{2,5})\\s*$"); |
| | | var ss = reg.Match (emailAccount); |
| | | //var reg = new Regex ("^\\s*([A-Za-z0-9_-]+(\\.\\w+)*@(\\w+\\.)+\\w{2,5})\\s*$"); |
| | | //var ss = reg.Match (emailAccount); |
| | | |
| | | if (!ss.Success) { |
| | | if (!CommonUtlis.Current.CheckEmail (emailAccount)) { |
| | | Application.RunOnMainThread (() => { |
| | | new Alert ("", Language.StringByID (R.MyInternationalizationString.PleaseCheckEmailAddressCorrectly), |
| | | Language.StringByID (R.MyInternationalizationString.Close)).Show (); |