| | |
| | | /// 窗帘动态控件 |
| | | /// </summary> |
| | | CurtainSeekBarOn curtainSeekBar; |
| | | /// <summary> |
| | | /// 进度值 |
| | | /// </summary> |
| | | Button btnProgress; |
| | | |
| | | |
| | | ///// <summary> |
| | | ///// 窗帘进度减少按钮 |
| | | ///// </summary> |
| | |
| | | // controlView.AddChidren(btnCollection); |
| | | //} |
| | | |
| | | |
| | | btnProgress = new Button() { |
| | | Y = Application.GetRealHeight(80), |
| | | Height = Application.GetRealHeight(50), |
| | | TextSize = CSS_FontSize.TextFontSize, |
| | | TextColor = CSS_Color.PromptingColor1, |
| | | Text = curtainTemp.GetPercent(function).ToString() + "%", |
| | | }; |
| | | controlView.AddChidren(btnProgress); |
| | | |
| | | |
| | | curtainSeekBar = new CurtainSeekBarOn() |
| | | { |
| | | Gravity = Gravity.CenterHorizontal, |