| | |
| | | btnStartColor.MouseUpEventHandler = (sender, e) => { |
| | | Action<uint> action = (color) => { |
| | | btnStartColor.BackgroundColor = color; |
| | | function.SetAttrState(FunctionAttributeKey.ColorfulBegin, color); |
| | | //function.SetAttrState(FunctionAttributeKey.ColorfulBegin, color); |
| | | }; |
| | | var rgbView = new ColorfulSettingPage(function, action,true); |
| | | MainPage.BasePageView.AddChidren(rgbView); |
| | |
| | | { |
| | | LoadEditDialog(() => |
| | | { |
| | | if(hour == 0 && minute == 0 && second == 0) |
| | | { |
| | | new PublicAssmebly().TipMsg(StringId.Tip, StringId.TimeInvalid); |
| | | return; |
| | | } |
| | | btnWorkHours.Text = hour + "时"; |
| | | btnWorkHours.Text += minute + "分"; |
| | | btnWorkHours.Text += second + "秒"; |