This commit is contained in:
Kathy Ruffing 2010-10-20 16:46:48 +00:00
parent 1e0564f35a
commit db6c44f96e

View File

@ -106,8 +106,6 @@ namespace DataLoader
public frmLoader()
{
string debugMode = ConfigurationManager.AppSettings["Debug"];
VlnSettings.DebugMode = bool.Parse(debugMode); // set debug for the Volian.Controls.Library
ldr = new Loader(_MyLog, this);
InitializeComponent();
MSWordToPDF.FormForPlotGraphics = this;
@ -142,8 +140,14 @@ namespace DataLoader
default:
break;
}
if (!VlnSettings.DebugMode)
tbSource.Text = "";
if (!VlnSettings.DebugMode)
tbSource.Text = "";
// if in debug mode, pdf output is red (checkbox1 is what controls this).
checkBox1.Checked = VlnSettings.DebugMode;
if (checkBox1.Checked)
Loader.OverrideColor = Color.Red;
else
Loader.OverrideColor = Color.Empty;
}
private void btnConvertSelected_Click(object sender, EventArgs e)
{