diff options
| author | lempamo <[email protected]> | 2017-10-29 00:50:08 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-10-29 00:50:08 -0400 |
| commit | d73bed3a5e57dace6215d0dafc52cf16c19db0a9 (patch) | |
| tree | 30929514e95f76b328c0f182f986722c7d76a8ef /Histacom2/OS/WinXPBad/VirusLabel.cs | |
| parent | b2e99d751dd7417599212df04c74cdeb60c6453e (diff) | |
| download | histacom2-d73bed3a5e57dace6215d0dafc52cf16c19db0a9.tar.gz histacom2-d73bed3a5e57dace6215d0dafc52cf16c19db0a9.tar.bz2 histacom2-d73bed3a5e57dace6215d0dafc52cf16c19db0a9.zip | |
making progress on bad ie6
Diffstat (limited to 'Histacom2/OS/WinXPBad/VirusLabel.cs')
| -rw-r--r-- | Histacom2/OS/WinXPBad/VirusLabel.cs | 16 |
1 files changed, 7 insertions, 9 deletions
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; } } } |
