From ce0cdf82989d5fead5618d1988a7d1aba9746d57 Mon Sep 17 00:00:00 2001 From: chenn <gu.beic@qq.com> Date: 星期五, 11 四月 2025 16:56:01 +0800 Subject: [PATCH] 2d标注隐藏与显示;1-8断面隐藏与显示强制刷新 --- WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs index 0a34d75..1d77492 100644 --- a/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs +++ b/WinFrmUI/DPumpHydr.WinFrmUI.Volute/MainViewPage_StepInfo.cs @@ -65,7 +65,6 @@ private bool ChangeStep(long current_step_id, long next_step_id) { RbtnChk鎴潰18.Visible = false; - RbtnChk鏍囨敞.Visible = false; if (current_step_id == this._stepTreeDockPanel.Step_ID_Hdr_Base_Info) { if (!SaveParaStep1()) @@ -101,6 +100,8 @@ if (next_step_id < current_step_id && next_step_id != 0) {//鍒犻櫎鍔犲帤浣� this._occDesign3dCtrl.RemoveThicknessBody( ); + + this._occDesign3dCtrl.Invalidate(true); } } @@ -111,6 +112,8 @@ this._stepTreeDockPanel.SetFocusedNode(next_step_id); + if (next_step_id != this._stepTreeDockPanel.Step_ID_Thickness) + RbtnChk鏍囨敞.Visible = false; Rbtn鏁版嵁瀵煎嚭STP.Visible = false; Rbtn鏁版嵁瀵煎嚭IGS.Visible = false; @@ -146,6 +149,7 @@ else if (next_step_id == this._stepTreeDockPanel.Step_ID_Thickness) { + RbtnChk鏍囨敞.Visible = true; this.RBtn鍚庨��.Enabled = true; this.Rbtn鍓嶈繘.Enabled = false; -- Gitblit v1.9.3