From 3793a9a38ac6c4c4111c2bba3a35a71c30601e82 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 13 四月 2020 19:38:24 +0800 Subject: [PATCH] 上传个东西 --- ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs index 17b995f..a1b1650 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/CustomText.cs @@ -52,6 +52,10 @@ middle.AddChidren(textBtn); string s1 = ""; string s2 = ""; + if (!string.IsNullOrEmpty(Common.Logic.CurrentLogic.LogicCustomPushText)) + { + textBtn.Text = (50 - Common.Logic.CurrentLogic.LogicCustomPushText.Length).ToString(); + } textBox.TextChangeEventHandler += (sender, e) => { var leng = e.Length; -- Gitblit v1.8.0