Browse Source

载入分布图进度条从20开始

cxs 7 months ago
parent
commit
70113f949e

+ 6 - 6
OTSIncAReportApp/1-UI/Control_Graph/Controls/Control_DrawDistrbutionImageAndBSE.cs

@@ -285,15 +285,15 @@ namespace OTSIncAReportGraph.Controls
             SetDoubleBufferByIsDraw();
 
             ProgressBarUpdate(0, table["str1"].ToString());
-            //初始化底层操作类
-            imageDisHelper = new OTSImageDisHelp(resultFile);
-
-            m_backRect = imageDisHelper.m_originalBackRect;
-
+            
             string str29 = "begin to compose field picture....";
             log.Info(str29);
 
-            ProgressBarUpdate(20, "compose whole picture....");
+            ProgressBarUpdate(20, "compose whole picture....");//初始化底层操作类
+            imageDisHelper = new OTSImageDisHelp(resultFile);
+            m_backRect = imageDisHelper.m_originalBackRect;
+
+            
             List<Field> fieldlist = resultFile.List_OTSField;
 
             float ls_int_progresscalc = 0;