From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundControlContentForm.cs | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundControlContentForm.cs b/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundControlContentForm.cs old mode 100755 new mode 100644 index dd55a25..9ccdd57 --- a/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundControlContentForm.cs +++ b/ZigbeeApp/Shared/Phone/SmartSound/Forms/SmartSoundControlContentForm.cs @@ -624,7 +624,7 @@ /// </summary> private NormalViewControl btnName = null; - private IconViewControl Right_icon = null; + private MostRightIconControl Right_icon = null; /// <summary> /// 鎴块棿鍒楄〃琛� @@ -646,15 +646,12 @@ //鏄剧ず鏂囨湰 btnName = this.AddLeftCaption(string.Empty, 2000); btnName.Height = Application.GetRealHeight(60); - btnName.TextSize = 17; + btnName.TextSize = 14; btnName.Y = Application.GetRealHeight(57); btnName.Text = mRoom.RoomName; - Right_icon = this.AddRightArrow(); - Right_icon.Width = Application.GetRealWidth(115); - Right_icon.Height = Application.GetRealHeight(115); + Right_icon = this.AddMostRightEmptyIcon(58, 58); Right_icon.Gravity = Gravity.CenterVertical; - Right_icon.X = Right_icon.X - Application.GetRealWidth(60); btnName.ButtonClickEvent += (sender, e) => { @@ -681,15 +678,15 @@ { if (bol) { - Right_icon.SelectedImagePath = "SmartSound/CheckBoxSel.png"; - Right_icon.UnSelectedImagePath = "SmartSound/CheckBoxSel.png"; + Right_icon.SelectedImagePath = "Item/ItemSelected.png"; + Right_icon.UnSelectedImagePath = "Item/ItemSelected.png"; smartSoundControlContentForm.AddData(mRoom); } else { - Right_icon.SelectedImagePath = "SmartSound/CheckBoxDef.png"; - Right_icon.UnSelectedImagePath = "SmartSound/CheckBoxDef.png"; + Right_icon.SelectedImagePath = "Item/ItemUnSelected.png"; + Right_icon.UnSelectedImagePath = "Item/ItemUnSelected.png"; smartSoundControlContentForm.RemoveData(mRoom); } -- Gitblit v1.8.0