Added DebugStatus to MSWordToPDF Class

Moved DocPDF from Documents to new PDFs table
This commit is contained in:
Rich
2011-04-18 21:27:02 +00:00
parent f959f883d3
commit dd9bc9e0dc
2 changed files with 446 additions and 25 deletions

View File

@@ -194,9 +194,15 @@ namespace DataLoader
// if in debug mode, pdf output is red (checkbox1 is what controls this).
checkBox1.Checked = VlnSettings.DebugMode;
if (checkBox1.Checked)
{
MSWordToPDF.DebugStatus = 1;
Loader.OverrideColor = Color.Red;
}
else
{
MSWordToPDF.DebugStatus = 0;
Loader.OverrideColor = Color.Empty;
}
}
private void btnConvertSelected_Click(object sender, EventArgs e)
{
@@ -667,9 +673,15 @@ namespace DataLoader
{
VlnSettings.DebugMode = checkBox1.Checked;
if (checkBox1.Checked)
{
MSWordToPDF.DebugStatus = 1;
Loader.OverrideColor = Color.Red;
}
else
{
MSWordToPDF.DebugStatus = 0;
Loader.OverrideColor = Color.Empty;
}
}
}
}