| | |
| | | //场景背景图控件
|
| | | this.btnSceneBackGroud = new PicViewControl(this.Width, this.Height, false);
|
| | | btnSceneBackGroud.UnSelectedImagePath = "Scene/Background.png";
|
| | | this.AddChidren(btnSceneBackGroud, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnSceneBackGroud, ChidrenBindMode.BindEvent);
|
| | |
|
| | | //延时时间显示控件
|
| | | this.btnTimeView = new NormalViewControl(HdlControlLogic.Current.GetPictrueRealSize(280), HdlControlLogic.Current.GetPictrueRealSize(63), false);
|
| | |
| | | {
|
| | | btnTimeView.Text= this.GetTimeString(i_scene.SceneDelayTime, hourText, minuText, secondText);
|
| | | }
|
| | | this.AddChidren(btnTimeView, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnTimeView, ChidrenBindMode.BindEvent);
|
| | |
|
| | | //时间图标控件
|
| | | this.btnTimeIcon = new IconViewControl(63);
|
| | |
| | | btnSceneName.Y = HdlControlLogic.Current.GetPictrueRealSize(236);
|
| | | btnSceneName.IsBold = true;
|
| | | btnSceneName.TextColor = UserCenterColor.Current.White;
|
| | | this.AddChidren(btnSceneName, ChidrenBindMode.BindEventOnly);
|
| | | this.AddChidren(btnSceneName, ChidrenBindMode.BindEvent);
|
| | |
|
| | | //刷新控件状态
|
| | | this.RefreshControlInfo(i_scene);
|