Browse Source

Merge branch 'GSP' of http://36.129.169.60:30080/gogsadmin/OTS into GSP

GSP 1 week ago
parent
commit
1da99562b6
1 changed files with 11 additions and 2 deletions
  1. 11 2
      OTSIncAReportApp/1-UI/Control_Grids/CompositionDistributionGrid.cs

+ 11 - 2
OTSIncAReportApp/1-UI/Control_Grids/CompositionDistributionGrid.cs

@@ -37,6 +37,11 @@ namespace OTSIncAReportGrids
         frmReportConditionChoose m_condition;
 
         List<int> list_gridheight = new List<int>();
+        //List<DataTable> list_table_data = new List<DataTable>();
+        //List<Point> list_table_size = new List<Point>();
+        //List<Point> list_table_Point = new List<Point>();
+        //List<string> list_fileName = new List<string>();
+
         List<DataTable> list_table_data = new List<DataTable>();
         List<Point> list_table_size = new List<Point>();
         List<Point> list_table_Point = new List<Point>();
@@ -158,8 +163,12 @@ namespace OTSIncAReportGrids
             PopulateGridRows(gridView, dt, totalArea, sizeMethod, filename, false);
 
             gridView.Name = "gridView" + num.ToString();
-            list_table_Point.Add(SetDataGridViewStyle(gridView));
-            AddSumRow(gridView);
+            Point point = SetDataGridViewStyle(gridView);
+
+			list_table_Point.Add(point);
+            gridView.Location = new Point(point.X,0);
+
+			AddSumRow(gridView);
 
             panel1.Controls.Add(gridView);
             list_table_data.Add(dt);