old mode 100644
new mode 100755
| | |
| | | //数据异常
|
| | | return;
|
| | | }
|
| | | if (this.Parent == null)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | //清空
|
| | | listView.RemoveAll();
|
| | | }); |
| | | if (dicData.Count == 0) |
| | | { |
| | | //关闭进度条 |
| | | this.CloseProgressBar(); |
| | | HdlThreadLogic.Current.RunMain(() => |
| | | { |
| | | //关闭刷新特效 |
| | | listView.EndHeaderRefreshing(); |
| | | listView.frameTable.Height = listView.Height; |
| | | }); |
| | | return; |
| | | });
|
| | | if (dicData.Count == 0)
|
| | | {
|
| | | //关闭进度条
|
| | | this.CloseProgressBar();
|
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | //关闭刷新特效
|
| | | listView.EndHeaderRefreshing();
|
| | | listView.frameTable.Height = listView.Height;
|
| | | });
|
| | | return;
|
| | | }
|
| | | //初始化中部控件
|
| | | this.InitMiddleFrame(dicData);
|
| | |
| | | var btnTime = rowControl.frameTable.AddMostRightView("", 200, 50);
|
| | | btnTime.TextColor = UserCenterColor.Current.TextGrayColor1;
|
| | | btnTime.Y = btnMsg.Bottom + Application.GetRealHeight(12);
|
| | | btnTime.Text = Convert.ToDateTime(recordInfo.CreatedOnUtc).ToString("HH:mm");
|
| | | var convertTime = UserCenterLogic.ConvertUtcTimeToLocalTime(recordInfo.CreatedOnUtc);
|
| | | btnTime.Text = convertTime.ToString("HH:mm");
|
| | | rowControl.frameTable.AddChidren(btnTime, ChidrenBindMode.BindEventOnly);
|
| | | //底线
|
| | | if (addLine == true)
|
| | | {
|
| | | rowControl.frameTable.AddBottomLine();
|
| | | rowControl.frameTable.AddBottomLine(); |
| | | }
|
| | | //已读
|
| | | if (recordInfo.IsReading == true)
|