From f36b32a1a76811ae3a0e972170e80a2971b80078 Mon Sep 17 00:00:00 2001 From: robin <3504557@qq.com> Date: Sat, 15 May 2021 10:02:21 +0800 Subject: [PATCH] .. --- .../SegmentProductionAuto_/SegmentProductionAutoForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs index 80d4879..d1aa98e 100644 --- a/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs +++ b/ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs @@ -596,6 +596,8 @@ namespace ButcherFactory.SegmentProductionAuto_ if (_codePanel != null && _totalCode.ID == item2.Key) { flowLayoutPanel4.Controls.Clear(); + _codePanel = null; + _totalCode = null; } }