old mode 100755
new mode 100644
| | |
| | | deviceFramelayout.AddChidren(lineBtn); |
| | | EventHandler<MouseEventArgs> devicclick = (sen, e) => |
| | | { |
| | | clickbutton.IsSelected = false; |
| | | clickbutton = deviceIconBtn; |
| | | deviceIconBtn.IsSelected = true; |
| | | clickframeLayout.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; |
| | | clickframeLayout = bjFramelayout; |
| | | bjFramelayout.BackgroundColor = ZigbeeColor.Current.LogicIconBackgroundColor; |
| | | clicktextcolcrbutton.IsSelected = false; |
| | | clicktextcolcrbutton = devicename; |
| | | devicename.IsSelected = true; |
| | | var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; |
| | | this.AddChidren(flMain); |
| | | CurrentDeviceState.CurrentDeviceView(flMain, common, false, IfType); |
| | | //clickbutton.IsSelected = false; |
| | | //clickbutton = deviceIconBtn; |
| | | //deviceIconBtn.IsSelected = true; |
| | | //clickframeLayout.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; |
| | | //clickframeLayout = bjFramelayout; |
| | | //bjFramelayout.BackgroundColor = ZigbeeColor.Current.LogicIconBackgroundColor; |
| | | //clicktextcolcrbutton.IsSelected = false; |
| | | //clicktextcolcrbutton = devicename; |
| | | //devicename.IsSelected = true; |
| | | //var flMain = new FrameLayout { BackgroundColor = ZigbeeColor.Current.LogicViewBackgroundColor }; |
| | | //this.AddChidren(flMain); |
| | | //CurrentDeviceState.CurrentDeviceView(flMain, common, false, IfType); |
| | | |
| | | |
| | | var nightlight = new Nightlight(); |
| | | UserView.HomePage.Instance.AddChidren(nightlight); |
| | | UserView.HomePage.Instance.PageIndex += 1; |
| | | nightlight.Show(); |
| | | |
| | | |
| | | |
| | | }; |
| | | deviceFramelayout.MouseUpEventHandler += devicclick; |