From d73bed3a5e57dace6215d0dafc52cf16c19db0a9 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 29 Oct 2017 00:50:08 -0400 Subject: making progress on bad ie6 --- Histacom2/OS/WinXPBad/VirusLabel.cs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Histacom2/OS/WinXPBad/VirusLabel.cs') diff --git a/Histacom2/OS/WinXPBad/VirusLabel.cs b/Histacom2/OS/WinXPBad/VirusLabel.cs index e2af37a..7ab3ee1 100644 --- a/Histacom2/OS/WinXPBad/VirusLabel.cs +++ b/Histacom2/OS/WinXPBad/VirusLabel.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; using System.ComponentModel; -using System.Drawing; using System.Data; +using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace Histacom2.OS.WinXPBad { - public partial class VirusLabel : UserControl + public partial class VirusLabel : Form { - private bool white = true; + private bool light = true; public VirusLabel() { @@ -21,15 +21,13 @@ namespace Histacom2.OS.WinXPBad private void timer1_Tick(object sender, EventArgs e) { - if (white) + if (light) { label1.ForeColor = Color.Black; - white = false; - } - else - { + light = false; + } else { label1.ForeColor = Color.PaleGreen; - white = true; + light = true; } } } -- cgit v1.2.3