From 16bd0e17057df5616706ff9fa3ac706587364192 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 18 七月 2023 14:55:59 +0800 Subject: [PATCH] 告警推送,加密逻辑判断优化 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs index 3b6a13a..f3cb6c3 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs @@ -166,19 +166,19 @@ etPasswrod.SecureTextEntry = !btnShowPassword.IsSelected; }; -//#if DEBUG -// int NigelLoginPass = 0; -// btnLogo.MouseUpEventHandler += (sender, e) => { -// if (NigelLoginPass == 3) { -// etAccount.Text = @"464027401@qq.com"; -// etPasswrod.Text = "qqqqqq"; -// } else if (NigelLoginPass == 5) { -// etAccount.Text = @"Jai.singh@havells.com"; -// etPasswrod.Text = "123456"; -// } -// NigelLoginPass++; -// }; -//#endif +#if DEBUG + int NigelLoginPass = 0; + btnLogo.MouseUpEventHandler += (sender, e) => { + if (NigelLoginPass == 3) { + etAccount.Text = @"support6@hdlchina.com.cn"; + etPasswrod.Text = "123456"; + } else if (NigelLoginPass == 5) { + etAccount.Text = @"Jai.singh@havells.com"; + etPasswrod.Text = "123456"; + } + NigelLoginPass++; + }; +#endif //if (accountList.Count > 0) { // etAccount.Text = accountList [accountList.Count-1]; //} -- Gitblit v1.8.0