| | |
| | | }; |
| | | topView.AddChidren (title); |
| | | |
| | | title.MouseLongEventHandler += (sd, ds) => { |
| | | //#if DEBUG |
| | | try { |
| | | ////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 |
| | | |
| | | }; |
| | | |
| | | |
| | | var back = new Button () { |
| | | Height = Application.GetRealHeight (100), |
| | | Width = Application.GetRealWidth (85), |