| | |
| | | title.MouseLongEventHandler += (sd, ds) => { |
| | | //#if DEBUG |
| | | try { |
| | | //2020-01-15 长按显示当前住宅ID |
| | | new Alert ("", UserConfig.Instance.CurrentRegion.Id, "close").Show (); |
| | | ////2020-01-15 长按显示当前住宅ID |
| | | //new Alert ("", UserConfig.Instance.CurrentRegion.Id, "close").Show (); |
| | | |
| | | //2020-04-23 长按启用 Remote DEBUG Tip |
| | | SmartHome.MqttCommon.IfDEBUG = !SmartHome.MqttCommon.IfDEBUG; |
| | | string mes = "Remote DEBUG Tip" + (SmartHome.MqttCommon.IfDEBUG ? "Open" : "Close"); |
| | | new Alert ("", mes, "close").Show (); |
| | | |
| | | |
| | | } catch { } |
| | | //#endif |
| | | |
| | |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | }; |
| | | msgView.AddChidren (btnTitle); |
| | | |
| | | btnTitle.MouseLongEventHandler += (sd, ds) => { |
| | | //#if DEBUG |
| | | try { |
| | | ////2020-06-10 长按显示当前住宅ID |
| | | new Alert ("", UserConfig.Instance.CurrentRegion.Id, "close").Show (); |
| | | } catch { } |
| | | //#endif |
| | | |
| | | }; |
| | | |
| | | var btnPhone = new Button () { |
| | | X = Application.GetRealWidth(30), |
| | |
| | | }; |
| | | AddChidren (btnFAQ); |
| | | |
| | | |
| | | |
| | | var btnLine = new Button () { |
| | | Y = btnFAQ.Bottom, |
| | | BackgroundColor = SkinStyle.Current.Black50Transparent, |