|
|
@@ -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);
|