From d4973876384be55df64de45db8a511d1e0330872 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 23 六月 2021 17:06:20 +0800 Subject: [PATCH] 房间小图列表 --- HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs index d701f51..190b378 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs @@ -451,15 +451,16 @@ /// </summary> public bool Lighting = false; - public ClothesHangerControl(string iconPath1, string iconPath2, string title, string time) + + public ClothesHangerControl(string unSelectedIconPath, string selectedIconPath, string title, string time) { btnIcon = new Button() { Gravity = Gravity.CenterHorizontal, Width = Application.GetRealWidth(28), Height = Application.GetRealWidth(28), - UnSelectedImagePath = iconPath1, - SelectedImagePath = iconPath2, + UnSelectedImagePath = unSelectedIconPath, + SelectedImagePath = selectedIconPath, }; this.AddChidren(btnIcon); -- Gitblit v1.8.0