|
@@ -711,9 +711,10 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
|
|
xRTable.Rows[3].Cells[c].Text = listData[a].Rows[b]["ColVal" + (c + 1).ToString()].ToString();
|
|
xRTable.Rows[3].Cells[c].Text = listData[a].Rows[b]["ColVal" + (c + 1).ToString()].ToString();
|
|
}
|
|
}
|
|
|
|
|
|
- xRTable.LocationF = new PointF(0, NeueStartposition + 5);
|
|
|
|
|
|
+ xRTable.LocationF = new PointF(0, NeueStartposition );
|
|
this.Detail.Controls.Add(xRTable);
|
|
this.Detail.Controls.Add(xRTable);
|
|
- NeueStartposition = NeueStartposition + xRTable.SizeF.Height + 5 + 2;
|
|
|
|
|
|
+ NeueStartposition = NeueStartposition + xRTable.SizeF.Height +1 ;
|
|
|
|
+ //NeueStartposition = NeueStartposition + xRTable.SizeF.Height + 5 + 2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -973,13 +974,18 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
|
|
XRTableCell Template_Rows5_Cell_1 = new XRTableCell();
|
|
XRTableCell Template_Rows5_Cell_1 = new XRTableCell();
|
|
|
|
|
|
Template.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
|
Template.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
|
|
|
|
+ //Template_Rows1_Cell_1.WidthF = 115.67f;
|
|
|
|
+ //Template_Rows1_Cell_2.WidthF = 53f;
|
|
|
|
+ //Template_Rows1_Cell_3.WidthF = 211.79f;
|
|
|
|
+ //Template_Rows1_Cell_4.WidthF = 102.51f;
|
|
|
|
+ //Template_Rows1_Cell_5.WidthF = 102.51f;
|
|
|
|
+ //Template_Rows1_Cell_6.WidthF = 102.51f;
|
|
Template_Rows1_Cell_1.WidthF = 115.67f;
|
|
Template_Rows1_Cell_1.WidthF = 115.67f;
|
|
- Template_Rows1_Cell_2.WidthF = 53f;
|
|
|
|
- Template_Rows1_Cell_3.WidthF = 211.79f;
|
|
|
|
- Template_Rows1_Cell_4.WidthF = 102.51f;
|
|
|
|
- Template_Rows1_Cell_5.WidthF = 102.51f;
|
|
|
|
- Template_Rows1_Cell_6.WidthF = 102.51f;
|
|
|
|
-
|
|
|
|
|
|
+ Template_Rows1_Cell_2.WidthF = 57.22f;
|
|
|
|
+ Template_Rows1_Cell_3.WidthF = 256f;
|
|
|
|
+ Template_Rows1_Cell_4.WidthF = 85.85f;
|
|
|
|
+ Template_Rows1_Cell_5.WidthF = 85.85f;
|
|
|
|
+ Template_Rows1_Cell_6.WidthF = 85.85f;
|
|
|
|
|
|
|
|
|
|
Template_Rows_1.Controls.Add(Template_Rows1_Cell_1);
|
|
Template_Rows_1.Controls.Add(Template_Rows1_Cell_1);
|
|
@@ -989,12 +995,19 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
|
|
Template_Rows_1.Controls.Add(Template_Rows1_Cell_5);
|
|
Template_Rows_1.Controls.Add(Template_Rows1_Cell_5);
|
|
Template_Rows_1.Controls.Add(Template_Rows1_Cell_6);
|
|
Template_Rows_1.Controls.Add(Template_Rows1_Cell_6);
|
|
|
|
|
|
|
|
+ //Template_Rows2_Cell_1.WidthF = 115.67f;
|
|
|
|
+ //Template_Rows2_Cell_2.WidthF = 53f;
|
|
|
|
+ //Template_Rows2_Cell_3.WidthF = 211.79f;
|
|
|
|
+ //Template_Rows2_Cell_4.WidthF = 102.51f;
|
|
|
|
+ //Template_Rows2_Cell_5.WidthF = 102.51f;
|
|
|
|
+ //Template_Rows2_Cell_6.WidthF = 102.51f;
|
|
|
|
+
|
|
Template_Rows2_Cell_1.WidthF = 115.67f;
|
|
Template_Rows2_Cell_1.WidthF = 115.67f;
|
|
- Template_Rows2_Cell_2.WidthF = 53f;
|
|
|
|
- Template_Rows2_Cell_3.WidthF = 211.79f;
|
|
|
|
- Template_Rows2_Cell_4.WidthF = 102.51f;
|
|
|
|
- Template_Rows2_Cell_5.WidthF = 102.51f;
|
|
|
|
- Template_Rows2_Cell_6.WidthF = 102.51f;
|
|
|
|
|
|
+ Template_Rows2_Cell_2.WidthF = 57.22f;
|
|
|
|
+ Template_Rows2_Cell_3.WidthF = 256f;
|
|
|
|
+ Template_Rows2_Cell_4.WidthF = 85.85f;
|
|
|
|
+ Template_Rows2_Cell_5.WidthF = 85.85f;
|
|
|
|
+ Template_Rows2_Cell_6.WidthF = 85.85f;
|
|
|
|
|
|
|
|
|
|
Template_Rows_2.Controls.Add(Template_Rows2_Cell_1);
|
|
Template_Rows_2.Controls.Add(Template_Rows2_Cell_1);
|
|
@@ -1075,7 +1088,7 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
|
|
Template.Rows[2].Cells[0].BackColor = Color.Transparent;
|
|
Template.Rows[2].Cells[0].BackColor = Color.Transparent;
|
|
Template.Rows[2].BackColor = Color.DarkGray;
|
|
Template.Rows[2].BackColor = Color.DarkGray;
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
Template.Borders = DevExpress.XtraPrinting.BorderSide.All;
|
|
Template.Borders = DevExpress.XtraPrinting.BorderSide.All;
|
|
@@ -1084,6 +1097,9 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
|
|
Template.Rows[2].Cells[0].Borders = DevExpress.XtraPrinting.BorderSide.Left;
|
|
Template.Rows[2].Cells[0].Borders = DevExpress.XtraPrinting.BorderSide.Left;
|
|
Template.Rows[3].Cells[0].Borders = DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom;
|
|
Template.Rows[3].Cells[0].Borders = DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom;
|
|
|
|
|
|
|
|
+
|
|
|
|
+ //Template.Rows[0].Cells[1].Borders= DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right;
|
|
|
|
+
|
|
return Template;
|
|
return Template;
|
|
}
|
|
}
|
|
private void add_kllb(c_TemplateClass TemplateClass, DataTable dataTable, int position, XRTable xRTable)
|
|
private void add_kllb(c_TemplateClass TemplateClass, DataTable dataTable, int position, XRTable xRTable)
|
|
@@ -1150,7 +1166,8 @@ namespace OTSIncAReportApp._1_UI.OTSTemplateDesigner
|
|
xRPicture_pic.BringToFront();
|
|
xRPicture_pic.BringToFront();
|
|
this.Detail.Controls.Add(xRPicture_pic);
|
|
this.Detail.Controls.Add(xRPicture_pic);
|
|
|
|
|
|
- NeueStartposition = table.SizeF.Height + NeueStartposition+5;
|
|
|
|
|
|
+ //NeueStartposition = table.SizeF.Height + NeueStartposition+5;
|
|
|
|
+ NeueStartposition = table.SizeF.Height + NeueStartposition;
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
#region 颗粒列表帧图
|
|
#region 颗粒列表帧图
|