| | |
| | | Y = Application.GetRealHeight(103), |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealHeight(21 + 44), |
| | | BackgroundImagePath = "LogicIcon/bjicon.png", |
| | | //BackgroundImagePath = "LogicIcon/bjicon.png", |
| | | }; |
| | | fLayout.AddChidren(bghFrameLyout); |
| | | |
| | |
| | | { |
| | | bghFrameLyout.Height = Application.GetRealHeight(21 + 44 * 5); |
| | | bghFrameLyout.AddChidren(vvBgh); |
| | | |
| | | bghFrameLyout.BackgroundImagePath = "LogicIcon/bjicon5.png"; |
| | | } |
| | | else |
| | | { |
| | |
| | | bghFrameLyout.AddChidren(areaBgh); |
| | | bghFrameLyout.Height = Application.GetRealHeight(21 + 44 * roomList.Count); |
| | | areaBgh.Height = Application.GetRealHeight(44 * roomList.Count); |
| | | bghFrameLyout.BackgroundImagePath = $"LogicIcon/bjicon{roomList.Count+1}.png"; |
| | | } |
| | | #endregion |
| | | |
| | |
| | | |
| | | DeviceListView(vv, list); |
| | | }; |
| | | |
| | | if (roomList.Count-1==i) { |
| | | ///改变最后那条一个线的颜色,界面显示效果作用; |
| | | areaView.btnLine.BackgroundColor = CSS.CSS_Color.view; |
| | | } |
| | | } |
| | | }; |
| | | funAllAreaView.btnText1.MouseUpEventHandler += roomClick; |
| | |
| | | Y = Application.GetRealHeight(103), |
| | | Width = Application.GetRealWidth(160), |
| | | Height = Application.GetRealHeight(21 + 44), |
| | | BackgroundImagePath = "LogicIcon/bjicon.png", |
| | | //BackgroundImagePath = "LogicIcon/bjicon5.png", |
| | | }; |
| | | fLayout.AddChidren(bghFrameLyout); |
| | | |
| | |
| | | { |
| | | bghFrameLyout.Height = Application.GetRealHeight(21 + 44 * 5); |
| | | bghFrameLyout.AddChidren(vvBgh); |
| | | |
| | | bghFrameLyout.BackgroundImagePath = "LogicIcon/bjicon5.png"; |
| | | } |
| | | else |
| | | { |
| | | bghFrameLyout.AddChidren(areaBgh); |
| | | bghFrameLyout.Height = Application.GetRealHeight(21 + 44 * deviceTypeList.Count); |
| | | areaBgh.Height = Application.GetRealHeight(44 * deviceTypeList.Count); |
| | | bghFrameLyout.BackgroundImagePath = $"LogicIcon/bjicon{deviceTypeList.Count+1}.png"; |
| | | } |
| | | #endregion |
| | | |
| | |
| | | var lists = LogicMethod.GetShowDeviceList(typeFunctionList, functionList); |
| | | DeviceListView(vv, lists); |
| | | }; |
| | | |
| | | if (deviceTypeList.Count - 1 == i) |
| | | { |
| | | ///改变最后那条一个线的颜色,界面显示效果作用; |
| | | areaView.btnLine.BackgroundColor = CSS.CSS_Color.view; |
| | | } |
| | | } |
| | | }; |
| | | funAllAreaView.btnText2.MouseUpEventHandler += funClick; |