From b79ba3fc504548d88f327519c733235544c63551 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 28 三月 2025 17:34:36 +0800 Subject: [PATCH] 销售退货 --- DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs index e05efc3..5479d9c 100644 --- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs +++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs @@ -660,6 +660,8 @@ private void BtnLayout_ItemClick(object sender, ItemClickEventArgs ee) { Form parentForm = this.Parent as Form; + if (parentForm == null) + parentForm = this.Parent.Parent as Form; string _formNamespace = parentForm.GetType().FullName; if (parentForm != null) { -- Gitblit v1.9.3