Browse Source

修改颗粒列表一定情况下导出进度条101的问题

cxs 1 year ago
parent
commit
f2d73fbb96

+ 1 - 1
OTSIncAReportApp/1-UI/Control_Grids/ParticlesGridDevidePage/ParticlesGridDevidePage.cs

@@ -1875,7 +1875,7 @@ namespace OTSIncAReportGrids
                     if (dgV_ParticlesDevidePage.Rows.Count > 100)
                     {
                         if (i_row%(dgV_ParticlesDevidePage.Rows.Count / 100) == 0)
-                            m_frm_userprogress.SetProgressValueAndText(i_row / (dgV_ParticlesDevidePage.Rows.Count / 100), "export:" + i_row + "/total:" + dgV_ParticlesDevidePage.Rows.Count);
+                            m_frm_userprogress.SetProgressValueAndText(((i_row / dgV_ParticlesDevidePage.Rows.Count) / 100), "export:" + i_row + "/total:" + dgV_ParticlesDevidePage.Rows.Count);
                     }
                     row = sheet.CreateRow(2 + i_row);
                     row.Height = 45 * 20;