From 40f46f32cb00f4304a691d4f027a76a13a9ebb6d Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期一, 16 十二月 2019 15:11:36 +0800
Subject: [PATCH] 2019.12.16
---
ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
index 0b8607f..73fbfe7 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberManagementForm.cs
@@ -121,7 +121,7 @@
btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2;
if (System.IO.File.Exists(iconPath) == true)
{
- btnUserIcon.ImagePath = iconPath;
+ btnUserIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(iconPath);
}
else
{
@@ -405,7 +405,7 @@
Shared.IO.FileUtils.WriteFileByBytes(iconPath, infoResult.HeadImage);
HdlThreadLogic.Current.RunMain(() =>
{
- btnUserIcon.ImagePath = iconPath;
+ btnUserIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(iconPath);
});
}
});
--
Gitblit v1.8.0