var path = Application.StartupPath + @"\..\..\SectionReport1.rpx";
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
var xtr = XmlReader.Create(path);
sectionReport.LoadLayout(xtr);
sectionReport.Run(false);
for (int i = 0; i < sectionReport.Sections.Count; i++)
{
var section = sectionReport.Sections;
for (int j = 0; j < section.Controls.Count; j++)
{
var ctrl=section.Controls[j];
if (ctrl.Name.ToLower().StartsWith("picbackground"))
{
ctrl.SendToBack();
}
else
{
ctrl.BringToFront();
}
}
}