From 0d9f64668fd7350d6a21fd157e32009a96d98134 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 16 十二月 2020 13:09:08 +0800
Subject: [PATCH] 新云端代码Ver1.2
---
ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs | 98 ++++++++++++++++++++++++------------------------
1 files changed, 49 insertions(+), 49 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs
index d8f466d..aec2bb5 100644
--- a/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionDirectoryListForm.cs
@@ -1,6 +1,6 @@
锘縰sing System;
using System.Collections.Generic;
-using System.IO;
+using System.IO;
using System.Text;
namespace Shared.Phone.UserCenter.HideOption
@@ -38,7 +38,7 @@
listView.Height = bodyFrameLayout.Height;
bodyFrameLayout.AddChidren(listView);
- Type type = typeof(DirNameResourse);
+ Type type = typeof(HdlFileNameResourse);
var PropertyList = type.GetProperties();
@@ -66,10 +66,10 @@
{
var form = new HideOptionSearchAllFile();
form.AddForm(Common.Config.Instance.FullPath);
- };
-
+ };
+
#if iOS
- //鏌ョ湅鍏ㄩ儴鏂囦欢
+ //鏌ョ湅鍏ㄩ儴鏂囦欢
var row0 = new FrameRowControl(listView.rowSpace / 2);
listView.AddChidren(row0);
row0.AddLeftCaption("IOS鍥剧墖", 800);
@@ -79,47 +79,47 @@
row0.ButtonClickEvent += (sender, e) =>
{
string fileName = "Item/Add.png";
- if (File.Exists(Path.Combine(Application.RootPath, fileName)))
- {
- var form = new HideOptionSearchAllFile();
- form.AddForm(Application.RootPath);
- return;
- }
-
- string dirPath = string.Empty;
- if (Application.Skin != null)
- {
- dirPath = Application.Skin + "/" + fileName;
- if (File.Exists(Path.Combine(Application.RootPath, dirPath)))
- {
- var form = new HideOptionSearchAllFile();
- form.AddForm(Path.Combine(Application.RootPath, Application.Skin + "/"));
- return;
- }
- string text2 = Foundation.NSBundle.MainBundle.PathForResource(dirPath, null);
- if (text2 != null)
- {
- var form = new HideOptionSearchAllFile();
- form.AddForm(text2.Replace(dirPath, string.Empty));
- return;
- }
- }
- else
- {
- dirPath = "Phone/" + fileName;
- if (File.Exists(Path.Combine(Application.RootPath, dirPath)))
- {
- var form = new HideOptionSearchAllFile();
- form.AddForm(Path.Combine(Application.RootPath, "Phone/"));
- return;
- }
- string text2 = Foundation.NSBundle.MainBundle.PathForResource(dirPath, null);
- if (text2 != null)
- {
- var form = new HideOptionSearchAllFile();
- form.AddForm(text2.Replace(dirPath, string.Empty));
- return;
- }
+ if (File.Exists(Path.Combine(Application.RootPath, fileName)))
+ {
+ var form = new HideOptionSearchAllFile();
+ form.AddForm(Application.RootPath);
+ return;
+ }
+
+ string dirPath = string.Empty;
+ if (Application.Skin != null)
+ {
+ dirPath = Application.Skin + "/" + fileName;
+ if (File.Exists(Path.Combine(Application.RootPath, dirPath)))
+ {
+ var form = new HideOptionSearchAllFile();
+ form.AddForm(Path.Combine(Application.RootPath, Application.Skin + "/"));
+ return;
+ }
+ string text2 = Foundation.NSBundle.MainBundle.PathForResource(dirPath, null);
+ if (text2 != null)
+ {
+ var form = new HideOptionSearchAllFile();
+ form.AddForm(text2.Replace(dirPath, string.Empty));
+ return;
+ }
+ }
+ else
+ {
+ dirPath = "Phone/" + fileName;
+ if (File.Exists(Path.Combine(Application.RootPath, dirPath)))
+ {
+ var form = new HideOptionSearchAllFile();
+ form.AddForm(Path.Combine(Application.RootPath, "Phone/"));
+ return;
+ }
+ string text2 = Foundation.NSBundle.MainBundle.PathForResource(dirPath, null);
+ if (text2 != null)
+ {
+ var form = new HideOptionSearchAllFile();
+ form.AddForm(text2.Replace(dirPath, string.Empty));
+ return;
+ }
}
};
#endif
@@ -161,10 +161,10 @@
};
}
-#endregion
+ #endregion
-#region 鈻� 涓�鑸柟娉昣__________________________
+ #region 鈻� 涓�鑸柟娉昣__________________________
-#endregion
+ #endregion
}
}
--
Gitblit v1.8.0