소스 검색

更新优化清洁度报告模板有新增颗粒时显示不完全的问题

zhangjiaxin 3 달 전
부모
커밋
2041e89f2e
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      OTSIncAReportApp/1-UI/OTSReportExport/OTSReport_Template_CleannessA.cs

+ 9 - 0
OTSIncAReportApp/1-UI/OTSReportExport/OTSReport_Template_CleannessA.cs

@@ -36,6 +36,8 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
         private List<string> list_MainPriority = new List<string>();
 
 		ParticleData fielddata;
+
+        bool isRefresh = false;
 		#endregion
 
 		#region 构造函数及窗体加载
@@ -877,6 +879,13 @@ namespace OTSIncAReportApp.OTSTemplateDesigner
 
         private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
         {
+            if (!isRefresh)
+            {
+                isRefresh = true;
+                return;
+
+			}
+
             if (CurrentDatabase != comboBox1.Text)
             {
                 CurrentDatabase = comboBox1.Text;