using System; using System.Collections.Generic; using System.Text; namespace Shared.Phone.UserCenter.Member { /// /// 成员不存在的显示界面 /// public class MemberNotEsixtForm : EditorCommonForm { #region ■ 变量声明___________________________ #endregion #region ■ 初始化_____________________________ /// /// 画面显示(底层会固定调用此方法,借以完成画面创建) /// public void ShowForm() { //设置头部信息 base.SetTitleText(Language.StringByID(R.MyInternationalizationString.uMemberInformation)); //初始化中部信息 this.InitMiddleFrame(); } /// /// 初始化中部信息 /// private void InitMiddleFrame() { //清空bodyFrame this.ClearBodyFrame(); var btnPic = new PicViewControl(383, 311); btnPic.UnSelectedImagePath = "Item/MemberNotEsixtPic.png"; btnPic.Gravity = Gravity.CenterHorizontal; btnPic.Y = Application.GetRealHeight(392); bodyFrameLayout.AddChidren(btnPic); //不存在该账户,请重新输入 var btnMsg = new NormalViewControl(bodyFrameLayout.Width, Application.GetRealHeight(49), false); btnMsg.TextAlignment = TextAlignment.Center; btnMsg.TextColor = UserCenterColor.Current.TextGrayColor1; btnMsg.TextSize = 12; btnMsg.TextID = R.MyInternationalizationString.uMemberIsNotEsixtAndInputAgain; btnMsg.Y = Application.GetRealHeight(870); bodyFrameLayout.AddChidren(btnMsg); //返回 var btnBack = new BottomClickButton(688); btnBack.TextID = R.MyInternationalizationString.uGoBack; bodyFrameLayout.AddChidren(btnBack); btnBack.ButtonClickEvent += (sender, e) => { this.CloseForm(); }; } #endregion #region ■ 一般方法___________________________ #endregion } }