| | |
| | | btnAuthority.TextAlignment = TextAlignment.Center;
|
| | | btnAuthority.Y = btnName.Bottom + Application.GetRealHeight(10);
|
| | | btnAuthority.TextSize = 12;
|
| | | btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor;
|
| | | btnAuthority.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | btnAuthority.Text = UserCenterResourse.UserInfo.AuthorityText;
|
| | | frameBack.AddChidren(btnAuthority);
|
| | | }
|
| | |
| | | };
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 添加成员行(外部调用)
|
| | | /// </summary>
|
| | | /// <param name="info"></param>
|
| | | public void AddRowLayoutByOtherForm(MemberInfoRes info)
|
| | | {
|
| | | var myRow = listView.GetChildren(listView.ChildrenCount - 1);
|
| | | if (myRow != null)
|
| | | {
|
| | | //最后一行加底线
|
| | | ((FrameRowControl)myRow).AddBottomLine();
|
| | | }
|
| | | this.AddRowLayout(info, false);
|
| | | //调整列表控件的高度
|
| | | listView.AdjustRealHeight(Application.GetRealHeight(23));
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 获取成员头像_______________________
|
| | |
| | | #region ■ 删除指定行_________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 删除指定行
|
| | | /// 删除指定行(外部调用)
|
| | | /// </summary>
|
| | | /// <param name="accountId"></param>
|
| | | public void DeleteRowByAccount(string accountId)
|
| | |
| | | if (row.MainKeys == accountId)
|
| | | {
|
| | | row.RemoveFromParent();
|
| | | //调整列表控件的高度
|
| | | listView.AdjustRealHeight(Application.GetRealHeight(23));
|
| | |
|
| | | break;
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | //清空共享文件夹
|
| | | HdlShardLogic.Current.ClearShardDirectory();
|
| | |
|
| | | this.listView.RemoveAll();
|
| | | listView.Height = bodyFrameLayout.Height - Application.GetRealHeight(567);
|
| | |
|
| | | //添加成员列表
|
| | | this.AddMemberListRowByData();
|
| | |
|
| | | return 1;
|
| | | }
|