Browse Source

清洁度标准库显示的BUG修复

zhangjiaxin 6 months ago
parent
commit
4cae5a9e4e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OTSIncAReportApp/1-UI/FormStandardLibraryInformation.cs

+ 2 - 1
OTSIncAReportApp/1-UI/FormStandardLibraryInformation.cs

@@ -52,7 +52,7 @@ namespace OTSIncAReportApp._1_UI
 
         private void GetDBData(ResultFile resultFile)
         {
-            listView1.Items.Clear();
+            
             ResultFile resfile = resultFile;
             string Name = "";
             string rstSTD = resfile.GetSTDName();
@@ -95,6 +95,7 @@ namespace OTSIncAReportApp._1_UI
                 string[] fruits = input.Split('.');
                 if ( Name== fruits[0])
                 {
+                    listView1.Items.Clear();
                     DataTable dt_stl = new DataTable();
                     SqLiteHelper sh = new SqLiteHelper("data source='" + LibraryName[i][1] + "'");
                     dt_stl = sh.ExecuteQuery("select * from ClassifySTD");