From fa6bcb2e9907772480f99205f36ec2a1ce735a22 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 09 一月 2020 14:11:07 +0800 Subject: [PATCH] 合并代码 --- ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs index 6e549ec..bf52d7e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs @@ -42,7 +42,7 @@ titleIcon.InitControl(); titleIcon.ButtonClickEvent += (sender, e) => { - var menuContr = new TopRightMenuControl(2, 449); + var menuContr = new TopRightMenuControl(2, 2); //鎵弿浜岀淮鐮� string msg1 = Language.StringByID(R.MyInternationalizationString.uScanQRcode); menuContr.AddRowMenu(msg1, "Item/ScanQRcodeIcon.png", "Item/ScanQRcodeIconSelected.png", () => @@ -55,7 +55,10 @@ } //鎼滅储ID this.SearchMemberInfo(qrCode); - }); + }, + Language.StringByID(R.MyInternationalizationString.uCancel), + Language.StringByID(R.MyInternationalizationString.uFlashlamp), + msg1); }); //杈撳叆璐﹀彿 string msg2 = Language.StringByID(R.MyInternationalizationString.uInputAccount); @@ -359,7 +362,7 @@ Shared.IO.FileUtils.WriteFileByBytes(iconPath, infoResult.HeadImage); HdlThreadLogic.Current.RunMain(() => { - dicIconControl[keys].ImagePath = iconPath; + dicIconControl[keys].ImageBytes = Shared.IO.FileUtils.ReadFile(iconPath); }); } } -- Gitblit v1.8.0