Browse Source

修复报告颗粒类别全选功能BUG

zhangjiaxin 3 months ago
parent
commit
0a0b9020a9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      OTSIncAReportApp/1-UI/OTSReportExport/Category.cs

+ 5 - 1
OTSIncAReportApp/1-UI/OTSReportExport/Category.cs

@@ -122,7 +122,11 @@ namespace OTSIncAReportApp._1_UI.OTSReportExport
                     panel.BackColor = Color.Transparent;
                     flowLayoutPanel.Controls.Add(panel);
 
-                }
+					this.checkBox_selall.CheckedChanged -= new System.EventHandler(this.checkBox_selall_CheckedChanged);
+					checkBox_selall.Checked = true;
+					this.checkBox_selall.CheckedChanged += new System.EventHandler(this.checkBox_selall_CheckedChanged);
+
+				}
 
 			}