黄学彪
2020-07-13 23420922845c9e77019a55c3b3e3271eb1ec261e
ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs
@@ -39,9 +39,9 @@
            Type type = typeof(DirNameResourse);
            var PropertyList = type.GetFields();
            var PropertyList = type.GetProperties();
            var listFile = new List<System.Reflection.FieldInfo>();
            var listFile = new List<System.Reflection.PropertyInfo>();
            foreach (var item in PropertyList)
            {
                if (item.Name.EndsWith("Directory") == true)
@@ -84,13 +84,7 @@
        private void AddRowControl(VerticalListControl listView, string directory, string directoryValue, bool addLine)
        {
            string localDir = DirNameResourse.LocalMemoryDirectory;
            string myPath = System.IO.Path.Combine(localDir, directoryValue);
            if (localDir.EndsWith(directoryValue) == true)
            {
                myPath = localDir;
            }
            if (System.IO.Directory.Exists(myPath) == false)
            if (System.IO.Directory.Exists(directoryValue) == false)
            {
                return;
            }
@@ -106,7 +100,7 @@
            row1.ButtonClickEvent += (sender, e) =>
            {
                var form = new HideOptionFileListForm();
                form.AddForm(myPath);
                form.AddForm(directoryValue);
            };
        }