陈嘉乐
2021-02-25 5eec2e8c16bdcb163b388de486ee375e891df445
HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/ReplicationView.cs
File was renamed from HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/ReplicationView.cs
@@ -3,25 +3,25 @@
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),
@@ -53,14 +53,10 @@
                UnSelectedImagePath = "PirIcon/icon2.png",
            };
            frameLayout.AddChidren(icon2Btn);
            dialog.Show();
            #endregion
        }
      
    }
}