| | |
| | | //清空bodyFrame
|
| | | this.ClearBodyFrame();
|
| | |
|
| | | new System.Threading.Thread(async () =>
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | | {
|
| | | //进度条
|
| | | this.ShowProgressBar();
|
| | |
| | | this.m_BackupDeleteClassId = data[0].Id;
|
| | | }
|
| | | });
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | /// <param name="BackupClassId"></param>
|
| | | private void LoadBackupInfo(string BackupClassId)
|
| | | {
|
| | | new System.Threading.Thread(async () =>
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | | {
|
| | | //从云端获取备份的文件
|
| | | bool result = await HdlBackupLogic.Current.LoadAppBackupInfo(BackupClassId);
|
| | |
| | | //文件恢复成功
|
| | | string msg = Language.StringByID(R.MyInternationalizationString.uFileRecoverSuccess);
|
| | | this.ShowMassage(ShowMsgType.Normal, msg);
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
| | | /// </summary>
|
| | | public void UpLoadBackupInfo()
|
| | | {
|
| | | new System.Threading.Thread(async () =>
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | | {
|
| | | int result = await HdlAutoBackupLogic.DoUpLoadAutoBackupData();
|
| | | if (result == -1)
|
| | |
| | | this.InitMiddleFrame();
|
| | | }
|
| | | });
|
| | | })
|
| | | { IsBackground = true }.Start();
|
| | | });
|
| | | }
|
| | | #endregion
|
| | |
|