From 4dce704aaf8587cf3f91cf88f2208315a03c4cbb Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期三, 08 四月 2020 13:54:58 +0800 Subject: [PATCH] 先上传一个版本 --- ZigbeeApp/Shared/Phone/Device/Room/AddRoomSelectPicByLocal.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Room/AddRoomSelectPicByLocal.cs b/ZigbeeApp/Shared/Phone/Device/Room/AddRoomSelectPicByLocal.cs index 6a7e5bc..c79d6fc 100755 --- a/ZigbeeApp/Shared/Phone/Device/Room/AddRoomSelectPicByLocal.cs +++ b/ZigbeeApp/Shared/Phone/Device/Room/AddRoomSelectPicByLocal.cs @@ -33,9 +33,10 @@ }; topView.AddChidren(title); - var back = new Device.CommonForm.BackButton() { };鈥� topView.AddChidren(back); + var back = new UserCenter.BackViewControl();鈥� topView.AddChidren(back); + back.InitControl(); - back.MouseUpEventHandler += (sender, e) => + back.ButtonClickEvent += (sender, e) => { this.RemoveFromParent(); }; @@ -50,9 +51,8 @@ }; this.AddChidren(midFl); - int k = 0; - for (int j = 0; j < 3; j++) + for (int j = 0; j < 11; j++) { var itemView = new FrameLayout() { @@ -67,7 +67,7 @@ Y = Application.GetRealHeight(58), Width = Application.GetRealWidth(467), Height = Application.GetRealHeight(311), - ImagePath = $"RoomIcon/{k}.JPG", + ImagePath = $"RoomIcon/{k}.jpg", Radius = (uint)Application.GetRealHeight(17) }; itemView.AddChidren(icon); -- Gitblit v1.8.0