Added “(red ? in the editor)” to the Include Missing ROs checkbox label. Default the checkbox to be unchecked, and added anApplication.DoEvents()
Fixed the preview of images containing more than one sample layer (iTextSharp error) Fixed the printing of images containing more than one sample layer (iTextSharp error), added better error handling, added an Error bookmark group.
This commit is contained in:
@@ -195,10 +195,10 @@ namespace Volian.Controls.Library
|
||||
cbxComplete.Enabled = true;
|
||||
cbxSummary.Enabled = true;
|
||||
if (cbxROUsage.Checked)
|
||||
cbxIncldMissingROs.Text = "Include Missing ROs";
|
||||
cbxIncldMissingROs.Text = "Include Missing ROs (red ? in the editor)";
|
||||
else if (cbxComplete.Checked)
|
||||
cbxIncldMissingROs.Text = "Include Empty RO Fields";
|
||||
cbxIncldMissingROs.Checked = !cbxSummary.Checked;
|
||||
cbxIncldMissingROs.Checked = false;// !cbxSummary.Checked;
|
||||
cbxIncldMissingROs.Visible = cbxROUsage.Checked || cbxComplete.Checked;
|
||||
}
|
||||
|
||||
@@ -247,10 +247,10 @@ namespace Volian.Controls.Library
|
||||
break;
|
||||
}
|
||||
if (cbxROUsage.Checked)
|
||||
cbxIncldMissingROs.Text = "Include Missing ROs";
|
||||
cbxIncldMissingROs.Text = "Include Missing ROs (red ? in the editor)";
|
||||
else if (cbxComplete.Checked)
|
||||
cbxIncldMissingROs.Text = "Include Empty RO Fields";
|
||||
cbxIncldMissingROs.Checked = cbxROUsage.Checked || cbxComplete.Checked;
|
||||
//cbxIncldMissingROs.Checked = cbxROUsage.Checked || cbxComplete.Checked;
|
||||
cbxIncldMissingROs.Visible = cbxROUsage.Checked || cbxComplete.Checked;
|
||||
}
|
||||
|
||||
@@ -270,6 +270,7 @@ namespace Volian.Controls.Library
|
||||
cmbxROUsageSort.Enabled = cbxROUsage.Checked;
|
||||
xpSelROs.Enabled = true;
|
||||
xpSelROs.Expanded = true;
|
||||
cbxIncldMissingROs.Checked = false;// !cbxSummary.Checked;
|
||||
EnableOrDisablePrintButton();
|
||||
}
|
||||
|
||||
@@ -281,6 +282,7 @@ namespace Volian.Controls.Library
|
||||
// reset the RO tree and clear anything that was selected
|
||||
advTreeROFillIn(true);
|
||||
lstCheckedROs.Clear();
|
||||
cbxIncldMissingROs.Checked = false;// !cbxSummary.Checked;
|
||||
EnableOrDisablePrintButton();
|
||||
}
|
||||
#region Procedure List
|
||||
@@ -774,6 +776,7 @@ namespace Volian.Controls.Library
|
||||
|
||||
private void cbxComplete_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbxIncldMissingROs.Checked = false;// !cbxSummary.Checked;
|
||||
EnableOrDisablePrintButton();
|
||||
}
|
||||
|
||||
@@ -827,6 +830,7 @@ namespace Volian.Controls.Library
|
||||
System.Diagnostics.Process p = System.Diagnostics.Process.Start(cmpRptExePath, roloc);
|
||||
// need to wait, sometimes the Print.tmp file that is generated is not available
|
||||
p.WaitForExit(); // without arguments, this will wait indefinately
|
||||
Application.DoEvents();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user