From bff8993501334c4f3c5f902216fe03253be747f8 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 15 四月 2020 16:59:01 +0800 Subject: [PATCH] 合并新代码 --- ZigbeeApp20200414/Shared/Phone/Device/Logic/CustomText.cs | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp20200414/Shared/Phone/Device/Logic/CustomText.cs b/ZigbeeApp20200414/Shared/Phone/Device/Logic/CustomText.cs index 17b995f..a1b1650 100755 --- a/ZigbeeApp20200414/Shared/Phone/Device/Logic/CustomText.cs +++ b/ZigbeeApp20200414/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