From 8501b2ff1483efc270216ec33fd93abccdb66253 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sat, 28 Oct 2017 20:07:06 -0400 Subject: viruslabel made --- Histacom2/OS/WinXPBad/VirusLabel.cs | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Histacom2/OS/WinXPBad/VirusLabel.cs (limited to 'Histacom2/OS/WinXPBad/VirusLabel.cs') 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; + } + } + } +} -- cgit v1.2.3