B2018-030 Disable Ping when performing export.

B2018-031 Provide status as Figures are exported
This commit is contained in:
Rich 2018-02-21 18:29:24 +00:00
parent 33976e8d2b
commit 9df7290679

View File

@ -197,7 +197,9 @@ namespace VEPROMS
private void SaveExportData() private void SaveExportData()
{ {
XmlDocument xd = new XmlDocument(); XmlDocument xd = new XmlDocument();
MyFrmVEPROMS.DisablePing = true;//B2018-030 Shutoff ping when doing Export
ExportFolder(xd, MyFolder, "folder"); ExportFolder(xd, MyFolder, "folder");
MyFrmVEPROMS.DisablePing = false;//B2018-030 turn on ping Export is done
} }
// appears to not be used -jsj 4-29-2016 // appears to not be used -jsj 4-29-2016
@ -1654,6 +1656,9 @@ namespace VEPROMS
xee.Attributes.SetNamedItem(AddAttribute(xee.OwnerDocument, "dts", figure.DTS.ToString("MM/dd/yyyy HH:mm:ss.fff"))); xee.Attributes.SetNamedItem(AddAttribute(xee.OwnerDocument, "dts", figure.DTS.ToString("MM/dd/yyyy HH:mm:ss.fff")));
xee.Attributes.SetNamedItem(AddAttribute(xee.OwnerDocument, "userid", figure.UserID)); xee.Attributes.SetNamedItem(AddAttribute(xee.OwnerDocument, "userid", figure.UserID));
xe.AppendChild(xee); xe.AppendChild(xee);
// B2018-031 Output figure names as they are exported to provide more constant feedback
lblExportStatus.Text = string.Format("Exporting Figure...{0}",figure.MyROImage.FileName);
Application.DoEvents();
ExportROImage(xee, figure.MyROImage); ExportROImage(xee, figure.MyROImage);
} }
} }