From f788a1e320b8505435ed66e2456ddb2d0a838f76 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 19 十一月 2020 19:58:14 +0800 Subject: [PATCH] 2020-11-19 1.优化绑定和解绑页面。2.修改密码功能实现,UI界面实现,接口实现。 --- HDL_ON/UI/UI0-Public/TopViewDivBLL.cs | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/TopViewDivBLL.cs b/HDL_ON/UI/UI0-Public/TopViewDivBLL.cs index bc222ab..c2f6a6c 100644 --- a/HDL_ON/UI/UI0-Public/TopViewDivBLL.cs +++ b/HDL_ON/UI/UI0-Public/TopViewDivBLL.cs @@ -15,13 +15,16 @@ { btnBack.MouseUpEventHandler = (sender, e) => { backAction?.Invoke(); - if (baseView != null) + if (needClose) { - baseView.RemoveFromParent(); - } - if (baseDialog != null) - { - baseDialog.Close(); + if (baseView != null) + { + baseView.RemoveFromParent(); + } + if (baseDialog != null) + { + baseDialog.Close(); + } } }; } -- Gitblit v1.8.0