From 16604a593202f2f87adf71abd57d036fe7da3b52 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 18 十一月 2019 10:39:42 +0800 Subject: [PATCH] 同步了全部的代码 --- 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