| | |
| | | var serverBtn = new Button() |
| | | { |
| | | X = Application.GetRealWidth(40), |
| | | Y = imageView.Bottom + Application.GetRealHeight(12), |
| | | Y = imageView.Bottom + Application.GetRealHeight(12), |
| | | Width = Application.GetRealWidth(295), |
| | | Height = Application.GetRealHeight(22), |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | |
| | | IsBold = true |
| | | }; |
| | | bodyView.AddChidren(phoneBtn); |
| | | if(Language.CurrentLanguage != "Chinese") |
| | | { |
| | | phoneBtn.Y = Application.GetRealHeight(566); |
| | | phoneBtn.Y = callBtn.Bottom; |
| | | phoneBtn.X = callBtn.X; |
| | | } |
| | | |
| | | phoneBtn.MouseUpEventHandler += (sender, e) => |
| | | { |
| | | PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER); |
| | | }; |
| | | |
| | | serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + UserInfo.Current.GlobalRegion.regionName; |
| | | |
| | | serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName; |
| | | |
| | | } |
| | | } |