show “Compare PDF” checkbox only if “compare” folder exists OR if in Debug Mode. Rename “Debug” checkbox label to “Compare PDF” (B2012-149)
This commit is contained in:
@@ -183,6 +183,13 @@ namespace VEPROMS
|
||||
btnDuplxOn.Visible = false;
|
||||
}
|
||||
// default to print Debug info if App.config is set to debug mode
|
||||
// This checkbox is now labeled as "Compare PDF"
|
||||
// If the PDF location has a Compare folder or we are in Debug Mode
|
||||
// then make the checkbox visible
|
||||
string cmpfldr = txbPDFLocation.Text;
|
||||
if (!cmpfldr.EndsWith("\\")) cmpfldr += "\\";
|
||||
cmpfldr += "Compare";
|
||||
cbxDebug.Visible = Directory.Exists(cmpfldr) || VlnSettings.DebugMode;
|
||||
cbxDebug.Checked = VlnSettings.DebugMode;
|
||||
|
||||
// default to using OriginalPageBreaks (16bit page breaks) if App.config is set
|
||||
|
Reference in New Issue
Block a user