| | |
| | |
|
| | | //成员ID
|
| | | var btnUserId = new NormalViewControl(800, 50, true);
|
| | | btnUserId.IsBold = true;
|
| | | btnUserId.Y = Application.GetRealHeight(472);
|
| | | btnUserId.Gravity = Gravity.CenterHorizontal;
|
| | | btnUserId.Text = memberResult.Account;
|
| | |
| | |
|
| | | //昵称
|
| | | var btnName = new NormalViewControl(800, 55, true);
|
| | | btnName.IsBold = true;
|
| | | btnName.Y = Application.GetRealHeight(541);
|
| | | btnName.Gravity = Gravity.CenterHorizontal;
|
| | | btnName.TextAlignment = TextAlignment.Center;
|
| | |
| | | strMsg = string.Format(strMsg, "\r\n");
|
| | | }
|
| | | var btnmsg = new NormalViewControl(800, 100, true);
|
| | | btnmsg.IsBold = true;
|
| | | btnmsg.Y = Application.GetRealHeight(913);
|
| | | btnmsg.TextSize = 12;
|
| | | btnmsg.Text = strMsg;
|
| | |
| | | if (resultValue == null)
|
| | | {
|
| | | //出现未知错误,数据丢失
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost);
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uUnKnownError);
|
| | | this.ShowMassage(ShowMsgType.Tip, msg);
|
| | | return;
|
| | | }
|
| | |
| | | if (memberInfoRes == null)
|
| | | {
|
| | | //出现未知错误,数据丢失
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost);
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uUnKnownError);
|
| | | this.ShowMassage(ShowMsgType.Tip, msg);
|
| | | return;
|
| | | }
|
| | |
| | |
|
| | | //成员添加成功
|
| | | var form = new AddMemberSuccessForm();
|
| | | form.AddForm(memberInfoRes);
|
| | | form.AddForm(memberInfoRes, memberResult.DistributedMark);
|
| | | form.FormCloseEvent += (() =>
|
| | | {
|
| | | this.CloseForm();
|