Added "Applicability" heading to Sync output

Bug Fix - Added logic to check if there is a non-null SelectedEditItem, before using the property of the SelectedEditItem.
DSO Framer Save - Close DSO Framer window when PROMS closes.
This commit is contained in:
Rich 2013-07-26 16:15:03 +00:00
parent d9554317f3
commit 01a3907a2c
2 changed files with 7 additions and 1 deletions

View File

@ -466,6 +466,9 @@ namespace Sync
Font fntBoldItalic = new Font("Arial", 14, FontStyle.Bold | FontStyle.Italic);
StringBuilder sb = new StringBuilder();
dgv.EndEdit();
sb.Append("Applicability:\r\n\r\n");
AddText(rtb, fntBold, "Applicability:");
AddText(rtb, fntNormal, "\r\n\r\n\r\n\r\n");
if (HasFmtXML(_CheckedOut))
{
sb.Append("* This change includes format changes which must be loaded into the databases.\r\n\r\n");

View File

@ -573,6 +573,8 @@ namespace VEPROMS
}
void frmVEPROMS_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
{
// Close any open documents
tc.Dispose();
// RHM 20121010
// Something was causing the process to remain in memory for an extended period of time
// after printing procedures. The following lines kills the process immediately.
@ -1369,7 +1371,8 @@ namespace VEPROMS
displayRO.Mydvi = SelectedDVI;
displayRO.MyROFST = SelectedROFst;
displayRO.MyRTB = (SelectedStepTabPanel == null) ? null : SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyStepRTB;
displayRO.MyRTB = (SelectedStepTabPanel == null) ? null :
SelectedStepTabPanel.MyStepPanel.SelectedEditItem == null ? null : SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyStepRTB;
displayRO.TabControl = tc;
displayRO.ProgressBar = bottomProgBar;