| | |
| | | LoadEvent_ControlScene(btnCoverd,btnName,btnZone, function); |
| | | |
| | | btnSettingIcon.MouseUpEventHandler = (sender, e) => { |
| | | |
| | | Action backAction = () => { |
| | | //LoadSceneFunctionControlZone(); |
| | | }; |
| | | Action refreshAction = () => { |
| | | btnName.Text = function.name; |
| | | btnZone.Text = function.GetRoomListName(); |
| | | view.BackgroundImagePath = (function as Scene).ImagePath; |
| | | }; |
| | | var aep = new SceneEditPage(function as Scene, backAction); |
| | | MainPage.BasePageView.AddChidren(aep); |
| | | aep.LoadPage(StringId.EditScene, refreshAction); |
| | | MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; |
| | | }; |
| | | } |
| | | catch (Exception ex) |