This commit is contained in:
2010-08-12 16:08:57 +00:00
parent 0849b002b4
commit 5d77b1aec4
3 changed files with 30 additions and 0 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}
}

View File

@@ -126,4 +126,7 @@
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>84, 17</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>217, 17</value>
</metadata>
</root>