| | |
| | | }; |
| | | view.AddChidren(btnCoverd); |
| | | |
| | | Button btnShowDelay; |
| | | btnShowDelay = new Button() |
| | | { |
| | | X = Application.GetRealWidth(40), |
| | | Y = Application.GetRealWidth(4), |
| | | Height = Application.GetRealWidth(32), |
| | | Width = Application.GetRealWidth(100), |
| | | TextColor = CSS_Color.AuxiliaryColor1, |
| | | TextAlignment = TextAlignment.CenterLeft, |
| | | TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | }; |
| | | view.AddChidren(btnShowDelay); |
| | | |
| | | Button btnSettingIcon; |
| | | btnSettingIcon = new Button() |
| | | { |
| | |
| | | } |
| | | |
| | | LoadEvent_SceneCollection(btnCollection, scene); |
| | | |
| | | LoadEvent_ControlScene(btnCoverd,btnName,btnZone, scene); |
| | | |
| | | LoadEvent_ControlScene(btnCoverd, btnName, btnZone, btnShowDelay, scene); |
| | | |
| | | btnSettingIcon.MouseUpEventHandler = (sender, e) => { |
| | | Action backAction = () => { |
| | |
| | | aep.LoadPage( refreshAction); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | //场景正在倒计时执行中 |
| | | scene.SceneCountDown(btnShowDelay); |
| | | } |
| | | catch (Exception ex) |
| | | { |