FileInfo info = new System.IO.FileInfo(m_strCurReport);
this.m_curPage = new GrapeCity.ActiveReports.PageReport(info);
this.m_curPage.Document.LocateDataSource += new GrapeCity.ActiveReports.LocateDataSourceEventHandler(locateData);
var unit = GrapeCity.ActiveReports.PageReportModel.Length.Unit.Centimeters;
this.m_curPage.Report.TopMargin = new GrapeCity.ActiveReports.PageReportModel.Length(m_reportSetting.topMargins, unit);
this.m_curPage.Report.LeftMargin = new GrapeCity.ActiveReports.PageReportModel.Length(m_reportSetting.leftMargins, unit);
this.m_curPage.Report.BottomMargin = new GrapeCity.ActiveReports.PageReportModel.Length(m_reportSetting.bottomMargins, unit);
this.m_curPage.Report.RightMargin = new GrapeCity.ActiveReports.PageReportModel.Length(m_reportSetting.rightMargins, unit);
this.m_curPage.Run();
this.m_pageReportViewer.LoadDocument(m_curPage.Document);