diff --git a/PROMS/DataLoader/frmLoader.Designer.cs b/PROMS/DataLoader/frmLoader.Designer.cs
index 97f9418a..57d79184 100644
--- a/PROMS/DataLoader/frmLoader.Designer.cs
+++ b/PROMS/DataLoader/frmLoader.Designer.cs
@@ -73,6 +73,7 @@ namespace DataLoader
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
this.tsslError = new System.Windows.Forms.ToolStripStatusLabel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.checkBox1 = new System.Windows.Forms.CheckBox();
this.sc.Panel1.SuspendLayout();
this.sc.Panel2.SuspendLayout();
this.sc.SuspendLayout();
@@ -89,6 +90,7 @@ namespace DataLoader
//
// sc.Panel1
//
+ this.sc.Panel1.Controls.Add(this.checkBox1);
this.sc.Panel1.Controls.Add(this.tbxBackupFileName);
this.sc.Panel1.Controls.Add(this.lblBackupName);
this.sc.Panel1.Controls.Add(this.lblProms16BitLoc);
@@ -585,6 +587,20 @@ namespace DataLoader
this.tsslError.Text = "No Errors";
this.tsslError.TextAlign = System.Drawing.ContentAlignment.TopLeft;
//
+ // checkBox1
+ //
+ this.checkBox1.AutoSize = true;
+ this.checkBox1.Checked = true;
+ this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.checkBox1.Location = new System.Drawing.Point(716, 95);
+ this.checkBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+ this.checkBox1.Name = "checkBox1";
+ this.checkBox1.Size = new System.Drawing.Size(87, 21);
+ this.checkBox1.TabIndex = 85;
+ this.checkBox1.Text = "Red PDF";
+ this.checkBox1.UseVisualStyleBackColor = true;
+ this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
+ //
// frmLoader
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@@ -653,5 +669,6 @@ namespace DataLoader
private System.Windows.Forms.Label lblProms16BitLoc;
private System.Windows.Forms.TextBox tbxBackupFileName;
private System.Windows.Forms.Label lblBackupName;
+ private System.Windows.Forms.CheckBox checkBox1;
}
}
\ No newline at end of file
diff --git a/PROMS/DataLoader/frmLoader.cs b/PROMS/DataLoader/frmLoader.cs
index 55cb8bf4..dad47aef 100644
--- a/PROMS/DataLoader/frmLoader.cs
+++ b/PROMS/DataLoader/frmLoader.cs
@@ -25,6 +25,7 @@ using vlnServerLibrary;
using VEPROMS.CSLA.Library;
using Config;
using Volian.Controls.Library;
+using Volian.Base.Library;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
@@ -599,5 +600,14 @@ namespace DataLoader
fsrestore.WriteLine(pause);
fsrestore.Close();
}
+
+ private void checkBox1_CheckedChanged(object sender, EventArgs e)
+ {
+ VlnSettings.DebugMode = checkBox1.Checked;
+ if (checkBox1.Checked)
+ Loader.OverrideColor = Color.Red;
+ else
+ Loader.OverrideColor = Color.Empty;
+ }
}
}
diff --git a/PROMS/DataLoader/frmLoader.resx b/PROMS/DataLoader/frmLoader.resx
index 6a55eb2f..01703140 100644
--- a/PROMS/DataLoader/frmLoader.resx
+++ b/PROMS/DataLoader/frmLoader.resx
@@ -126,4 +126,7 @@
84, 17
+
+ 217, 17
+
\ No newline at end of file