|
|
|
@ -1,13 +1,4 @@ |
|
|
|
|
using System; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Diagnostics; |
|
|
|
|
using System.Drawing; |
|
|
|
|
using System.Globalization; |
|
|
|
|
using System.IO; |
|
|
|
|
using System.Linq; |
|
|
|
|
using System.Text.RegularExpressions; |
|
|
|
|
using System.Windows.Forms; |
|
|
|
|
using DevExpress.XtraEditors; |
|
|
|
|
using DevExpress.XtraEditors; |
|
|
|
|
using DevExpress.XtraEditors.Repository; |
|
|
|
|
using DevExpress.XtraGrid.Views.Base; |
|
|
|
|
using DevExpress.XtraGrid.Views.Grid; |
|
|
|
@ -20,6 +11,15 @@ using PEIS.Model.Exam; |
|
|
|
|
using PEIS.Presenter; |
|
|
|
|
using PEIS.Utils; |
|
|
|
|
using PEIS.View.UControl; |
|
|
|
|
using System; |
|
|
|
|
using System.Collections.Generic; |
|
|
|
|
using System.Diagnostics; |
|
|
|
|
using System.Drawing; |
|
|
|
|
using System.Globalization; |
|
|
|
|
using System.IO; |
|
|
|
|
using System.Linq; |
|
|
|
|
using System.Text.RegularExpressions; |
|
|
|
|
using System.Windows.Forms; |
|
|
|
|
using static PEIS.Utils.ColorHelper; |
|
|
|
|
using static PEIS.Utils.Global; |
|
|
|
|
|
|
|
|
@ -1001,8 +1001,7 @@ namespace PEIS.View.Exam |
|
|
|
|
var img = ReportHelper.PdfToImg(item.ReportImg); |
|
|
|
|
if (img != null) |
|
|
|
|
{ |
|
|
|
|
var newImg = ReportHelper.RotateImage(img); |
|
|
|
|
Invoke(new Action(() => { picReportExt.Image = newImg; })); |
|
|
|
|
Invoke(new Action(() => { picReportExt.Image = img; picReportExt.Dock = DockStyle.Fill; picReportExt.SizeMode = PictureBoxSizeMode.Zoom; })); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return; |
|
|
|
|