File was renamed from HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs |
| | |
| | | using Shared; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice.View |
| | | namespace HDL_ON.UI.UI2.PersonalCenter.PirDevice |
| | | { |
| | | public class ReplicationView |
| | | public class ReplicationView : FrameLayout |
| | | { |
| | | public Dialog dialog = new Dialog() |
| | | public ReplicationView() |
| | | { |
| | | BackgroundColor = CSS.CSS_Color.viewMiddle, |
| | | }; |
| | | public void GuideShow() |
| | | } |
| | | public void Show() |
| | | { |
| | | |
| | | #region 界面布局 |
| | | PirDevice.View.TopView topView = new View.TopView(); |
| | | topView.topNameBtn.TextID = StringId.fuzhiyaokonggongnneg; |
| | | dialog.AddChidren(topView.FLayoutView()); |
| | | topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { dialog.Close(); }; |
| | | this.AddChidren(topView.FLayoutView()); |
| | | topView.clickBackBtn.MouseUpEventHandler += (sender, e) => { this.RemoveFromParent(); }; |
| | | FrameLayout frameLayout = new FrameLayout(); |
| | | frameLayout.Height = Application.GetRealHeight(667 - 64); |
| | | frameLayout.Y = Application.GetRealHeight(64); |
| | | dialog.AddChidren(frameLayout); |
| | | this.AddChidren(frameLayout); |
| | | var textBtn = new Button |
| | | { |
| | | Y = Application.GetRealHeight(24), |
| | |
| | | UnSelectedImagePath = "PirIcon/icon2.png", |
| | | }; |
| | | frameLayout.AddChidren(icon2Btn); |
| | | dialog.Show(); |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | } |
| | | } |