aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/WinXPBad/VirusLabel.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-10-28 20:07:06 -0400
committerlempamo <[email protected]>2017-10-28 20:07:06 -0400
commit8501b2ff1483efc270216ec33fd93abccdb66253 (patch)
tree067bde695693d817f41d298f118c50f370582548 /Histacom2/OS/WinXPBad/VirusLabel.cs
parentc0cb66b692ffc733f8b22686e9cae7b2e31f2080 (diff)
downloadhistacom2-8501b2ff1483efc270216ec33fd93abccdb66253.tar.gz
histacom2-8501b2ff1483efc270216ec33fd93abccdb66253.tar.bz2
histacom2-8501b2ff1483efc270216ec33fd93abccdb66253.zip
viruslabel made
Diffstat (limited to 'Histacom2/OS/WinXPBad/VirusLabel.cs')
-rw-r--r--Histacom2/OS/WinXPBad/VirusLabel.cs36
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;
+ }
+ }
+ }
+}