| | |
| | | Height = Application.GetMinRealAverage(112), |
| | | X = Application.GetRealWidth(58), |
| | | Y = Application.GetRealHeight(30 + 9), |
| | | // Radius = (uint)Application.GetRealHeight(56), |
| | | Radius = (uint)Application.GetMinRealAverage(56), |
| | | BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, |
| | | }; |
| | | deviceFramelayout.AddChidren(bjFramelayout); |
| | |
| | | Y = Application.GetRealHeight(30), |
| | | Width = Application.GetRealWidth(850), |
| | | Height = Application.GetRealHeight(130), |
| | | X = Application.GetRealWidth(176 + 10), |
| | | LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, |
| | | X = Application.GetRealWidth(176 + 25), |
| | | //LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, |
| | | LineColor = ZigbeeColor.Current.LogicBlankBackgroundColor, |
| | | }; |
| | | deviceFramelayout.AddChidren(deviceRow); |
| | | var devicename = new Button |
| | |
| | | TextSize = 14, |
| | | }; |
| | | deviceRow.AddChidren(devicename); |
| | | |
| | | var lineBtn = new Button |
| | | { |
| | | Y = deviceFramelayout.Height-1, |
| | | Height = 1, |
| | | Width = Application.GetRealWidth(850), |
| | | X = Application.GetRealWidth(176 + 25), |
| | | BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, |
| | | }; |
| | | deviceFramelayout.AddChidren(lineBtn); |
| | | EventHandler<MouseEventArgs> devicclick = (sen, e) => |
| | | { |
| | | clickbutton.IsSelected = false; |