From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期二, 21 七月 2020 09:46:53 +0800
Subject: [PATCH] 请合并最新多功能面板代码

---
 ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionSearchAllFile.cs |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionSearchAllFile.cs b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionSearchAllFile.cs
index 1809c0f..9d711f8 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionSearchAllFile.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionSearchAllFile.cs
@@ -97,7 +97,7 @@
                 }
                 listDirectory.Sort();
 
-                listAllFile = HdlAutoBackupLogic.GetFileFromDirectory(directory.TrimEnd('/'));
+                listAllFile = HdlFileLogic.Current.GetFileFromDirectory(directory.TrimEnd('/'));
                 listAllFile.Sort();
             }
 
@@ -185,6 +185,20 @@
             }
             row1.frameTable.AddRightArrow();
 
+            var btnUpLoad = row1.AddEditorControl();
+            btnUpLoad.Text = "涓婁紶";
+            btnUpLoad.ButtonClickEvent += (sender, e) =>
+            {
+                this.ShowMassage(ShowMsgType.Confirm, "鏄惁涓婁紶璇ユ枃浠�(娴嬭瘯)?", () =>
+                {
+                    HdlThreadLogic.Current.RunThread(() =>
+                    {
+                        string tagrtFile = System.IO.Path.Combine(directory, fileName);
+                        HdlBackupLogic.Current.UpLoadByteDataToOptionBackup(fileName, HdlFileLogic.Current.ReadFileByteContent(tagrtFile));
+                    });
+                });
+            };
+
             var btnDelete = row1.AddDeleteControl();
             btnDelete.ButtonClickEvent += (sender, e) =>
             {

--
Gitblit v1.8.0