| | |
| | | Button btnFromFloor_Out; |
| | | bool onDimmerBar = false; |
| | | Function function; |
| | | |
| | | /// <summary> |
| | | /// 最后打开的颜色 |
| | | /// </summary> |
| | | byte[] lastColor = new byte[3] { 255, 255, 255 }; |
| | | /// <summary> |
| | | /// 刷新显示信息 |
| | | /// </summary> |
| | |
| | | UnSelectedImagePath = "Collection/CollectionGrayIcon.png", |
| | | IsSelected = function.collect |
| | | }; |
| | | //controlView.AddChidren(btnCollection); |
| | | controlView.AddChidren(btnCollection); |
| | | //2020-12-16 如果是成员隐藏收藏功能 |
| | | //if (!DB_ResidenceData.Instance.CurrentRegion.isOtherShare) |
| | | //{ |
| | |
| | | { |
| | | colorPicker.ColorImagePath = "FunctionIcon/Light/ColorWheelGray.png"; |
| | | } |
| | | colorPicker.MouseDownEventHandler = (sender, e) => { |
| | | MainPage.BasePageView.ScrollEnabled = false; |
| | | }; |
| | | colorPicker.MouseUpEventHandler = (sender, e) => { |
| | | MainPage.BasePageView.ScrollEnabled = true; |
| | | }; |
| | | //colorPicker.MouseDownEventHandler = (sender, e) => { |
| | | // MainPage.BasePageView.ScrollEnabled = false; |
| | | //}; |
| | | //colorPicker.MouseUpEventHandler = (sender, e) => { |
| | | // MainPage.BasePageView.ScrollEnabled = true; |
| | | //}; |
| | | |
| | | //白点控件 |
| | | this.btnWhiteRound = new Button(); |