| | |
| | | this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; |
| | | TopView view = new TopView(); |
| | | this.AddChidren(view.TopRowView()); |
| | | view.toptitleNameBtn.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(common); |
| | | view.toptitleNameBtn.Text = LocalDevice.Current.GetDeviceEpointName(common); |
| | | view.clickBtn.MouseDownEventHandler += (sender, e) => |
| | | { |
| | | RemoveFromParent(); |
| | |
| | | { |
| | | if (!edit) |
| | | { |
| | | var alert = new ShowMsgControl(ShowMsgType.Normal, |
| | | var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal, |
| | | Language.StringByID(MyInternationalizationString.selectdevicestatuscondition), |
| | | Language.StringByID(MyInternationalizationString.confrim)); |
| | | alert.Show(); |
| | |
| | | UserView.HomePage.Instance.ScrollEnabled = false;//不让当前界面滑动 |
| | | CompleteView completeView = new CompleteView(); |
| | | flMain.AddChidren(completeView.Show(2)); |
| | | completeView.Btntitle.Text = HdlDeviceCommonLogic.Current.GetDeviceEpointName(common); |
| | | completeView.Btntitle.Text = LocalDevice.Current.GetDeviceEpointName(common); |
| | | EventHandler<MouseEventArgs> clickcancel = (sender, e) => |
| | | { |
| | | UserView.HomePage.Instance.ScrollEnabled = true; |
| | |
| | | { |
| | | Y = Application.GetRealHeight(140 + 160), |
| | | X = Application.GetRealWidth(78), |
| | | Height = Application.GetRealHeight(12), |
| | | Height = Application.GetRealWidth(12), |
| | | Width = Application.GetRealWidth(918 - 120), |
| | | UnSelectedImagePath = "ZigeeLogic/seek.png", |
| | | Gravity = Gravity.CenterHorizontal |
| | | }; |
| | | completeView.Show(2).AddChidren(seekIconBtn); |
| | | |
| | | var horizontalSeekBarVol = new SeekBarControl(918) |
| | | var horizontalSeekBarVol = new UserCenter.SeekBarControl(918) |
| | | { |
| | | ProgressBarColor = 0x00000000,// ZigbeeColor.Current.LogicProgressColorSelected,//选中进度条颜色 |
| | | SeekBarBackgroundColor = 0x00000000, |
| | |
| | | { |
| | | if (!edit) |
| | | { |
| | | var alert = new ShowMsgControl(ShowMsgType.Normal, |
| | | var alert = new UserCenter.ShowMsgControl(ShowMsgType.Normal, |
| | | Language.StringByID(MyInternationalizationString.selectdevicestatuscondition), |
| | | Language.StringByID(MyInternationalizationString.confrim)); |
| | | alert.Show(); |