diff options
Diffstat (limited to 'Histacom2/OS/WinXPBad/VirusLabel.cs')
| -rw-r--r-- | Histacom2/OS/WinXPBad/VirusLabel.cs | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Histacom2/OS/WinXPBad/VirusLabel.cs b/Histacom2/OS/WinXPBad/VirusLabel.cs new file mode 100644 index 0000000..e2af37a --- /dev/null +++ b/Histacom2/OS/WinXPBad/VirusLabel.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Histacom2.OS.WinXPBad +{ + public partial class VirusLabel : UserControl + { + private bool white = true; + + public VirusLabel() + { + InitializeComponent(); + } + + private void timer1_Tick(object sender, EventArgs e) + { + if (white) + { + label1.ForeColor = Color.Black; + white = false; + } + else + { + label1.ForeColor = Color.PaleGreen; + white = true; + } + } + } +} |
