| | |
| | | controlView.AddChidren(btnMaxValuesText); |
| | | #endregion |
| | | |
| | | if (function.GetAttribute(FunctionAttributeKey.FadeTime) != null) |
| | | { |
| | | #region 渐变时间调节 |
| | | var btnGradualChangeText = new Button() |
| | | { |
| | |
| | | Enable = function.GetAttribute(FunctionAttributeKey.FadeTime) != null, |
| | | }; |
| | | controlView.AddChidren(barFadeTime); |
| | | barFadeTime.OnStopTrackingTouchEvent = (sender, e) => |
| | | { |
| | | function.SetAttrState(FunctionAttributeKey.FadeTime, barFadeTime.Progress); |
| | | function.UpdataFuncitonInfo(); |
| | | }; |
| | | |
| | | var btnGradualChangeMaxValuesText = new Button() |
| | | { |
| | |
| | | controlView.AddChidren(btnGradualChangeMaxValuesText); |
| | | #endregion |
| | | |
| | | } |
| | | btnRestoredPoint = new Button() |
| | | { |
| | | X = Application.GetRealWidth(116), |