Browse Source

合成颗粒添加前景色

CXS 3 years ago
parent
commit
7ee9b93a3f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      OTSIncAReportApp/Control_Grids/ParticlesGridDevidePage.cs

+ 2 - 1
OTSIncAReportApp/Control_Grids/ParticlesGridDevidePage.cs

@@ -531,7 +531,7 @@ namespace OTSIncAReportGrids
             for (int i = 0; i < particles.Rows.Count; i++)
             {
                 //更新进度,每100条记录加载完,更新一次进度
-                if (i % 2 == 0)
+                if (i % 5 == 0)
                     
                     m_frm_userprogress.SetProgressValueAndText((int)(jd * i), "loading..");
 
@@ -570,6 +570,7 @@ namespace OTSIncAReportGrids
                                     dgV_ParticlesDevidePage.Rows[add_rowindex].Height = 150;
                                     dgV_ParticlesDevidePage.Rows[add_rowindex].Cells[k].Value = bmap;
                                     dgV_ParticlesDevidePage.Rows[add_rowindex].Cells[k].Style.BackColor = Color.Azure;
+                                    dgV_ParticlesDevidePage.Rows[add_rowindex].DefaultCellStyle.ForeColor = Color.Chocolate;
                                 }
                                 else
                                 {