陈嘉乐
2020-04-27 18b93d511dc764b469d7c4a7e755f7274f89cdb4
ZigbeeApp/Shared/Phone/UserCenter/HdlBackup/HdlBackupListForm.cs
@@ -155,7 +155,7 @@
            btnPoint.UnSelectedImagePath = "Item/DownLoad.png";
            //备份名字
            var txtText = rowLayout.frameTable.AddLeftCaption("", 700, 60);
            var txtText = rowLayout.frameTable.AddTopView("", 700);
            if (autoBack == true)
            {
                //自动备份
@@ -165,20 +165,11 @@
            {
                txtText.Text = fileInfo.BackupName;
            }
            txtText.TextSize = 15;
            //这个坐标有点特殊
            txtText.Y = Application.GetRealHeight(12) + rowLayout.chidrenYaxis;
            rowLayout.frameTable.AddChidren(txtText, ChidrenBindMode.BindEventOnly);
            //时间
            var btnTime = rowLayout.frameTable.AddLeftCaption("", 600, 50, true);
            //这个坐标有点特殊
            btnTime.Y = Application.GetRealHeight(72) + rowLayout.chidrenYaxis;
            btnTime.TextSize = 12;
            btnTime.TextColor = UserCenterColor.Current.TextGrayColor1;
            rowLayout.frameTable.AddChidren(btnTime, ChidrenBindMode.BindEventOnly);
            var btnTime = rowLayout.frameTable.AddBottomView("", 600);
            if (fileInfo.CreatedOnUtc.Length >= 19)
            {
                btnTime.Text = fileInfo.CreatedOnUtc.Replace("-", ".").Replace("T", " ");
                btnTime.Text = UserCenterLogic.ConvertUtcTimeToLocalTime(fileInfo.CreatedOnUtc).ToString("yyyy.MM.dd HH:mm:ss");
            }
            if (addLine == true)
            {
@@ -228,20 +219,20 @@
                    //显示编辑备考名画面
                    this.ShowEditorBackupForm(fileInfo);
                };
            }
            //删除
            var btnDelete = rowLayout.AddDeleteControl();
            btnDelete.ButtonClickEvent += (sender, e) =>
            {
                //确认删除该备份数据?
                string msg = Language.StringByID(R.MyInternationalizationString.uDoDeleteBackupMsg);
                this.ShowMassage(ShowMsgType.Confirm, msg, () =>
                //删除
                var btnDelete = rowLayout.AddDeleteControl();
                btnDelete.ButtonClickEvent += (sender, e) =>
                {
                    //删除备份文档
                    this.DeleteBackInfo(fileInfo.Id, ShowErrorMode.YES);
                });
            };
                    //确认删除该备份数据?
                    string msg = Language.StringByID(R.MyInternationalizationString.uDoDeleteBackupMsg);
                    this.ShowMassage(ShowMsgType.Confirm, msg, () =>
                    {
                        //删除备份文档
                        this.DeleteBackInfo(fileInfo.Id, ShowErrorMode.YES);
                    });
                };
            }
        }
        /// <summary>