This commit is contained in:
parent
1e0564f35a
commit
db6c44f96e
@ -106,8 +106,6 @@ namespace DataLoader
|
|||||||
|
|
||||||
public frmLoader()
|
public frmLoader()
|
||||||
{
|
{
|
||||||
string debugMode = ConfigurationManager.AppSettings["Debug"];
|
|
||||||
VlnSettings.DebugMode = bool.Parse(debugMode); // set debug for the Volian.Controls.Library
|
|
||||||
ldr = new Loader(_MyLog, this);
|
ldr = new Loader(_MyLog, this);
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
MSWordToPDF.FormForPlotGraphics = this;
|
MSWordToPDF.FormForPlotGraphics = this;
|
||||||
@ -142,8 +140,14 @@ namespace DataLoader
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!VlnSettings.DebugMode)
|
if (!VlnSettings.DebugMode)
|
||||||
tbSource.Text = "";
|
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)
|
private void btnConvertSelected_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user