From 5428935270159bfc42c2934ed7fb1091554fc9a4 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 09 七月 2020 17:12:42 +0800 Subject: [PATCH] 修改了 sokect --- ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs index 43f19bc..7999dcc 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs @@ -64,7 +64,7 @@ row1.ButtonClickEvent += (sender, e) => { var form = new HideOptionFileListForm(); - form.AddForm(UserCenterLogic.CombinePath()); + form.AddForm(Common.Config.Instance.FullPath); }; //鏌ョ湅鍏ㄩ儴鏂囦欢 @@ -84,10 +84,11 @@ private void AddRowControl(VerticalListControl listView, string directory, string directoryValue, bool addLine) { - string myPath = UserCenterLogic.CombinePath(DirNameResourse.LocalMemoryDirectory, directoryValue); - if (directoryValue == DirNameResourse.LocalMemoryDirectory) + string localDir = DirNameResourse.LocalMemoryDirectory; + string myPath = System.IO.Path.Combine(localDir, directoryValue); + if (localDir.EndsWith(directoryValue) == true) { - myPath = UserCenterLogic.CombinePath(DirNameResourse.LocalMemoryDirectory); + myPath = localDir; } if (System.IO.Directory.Exists(myPath) == false) { -- Gitblit v1.8.0