aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/SeizureWarning.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-28 15:21:46 -0400
committerlempamo <[email protected]>2017-07-28 15:21:46 -0400
commit717f7caf678aeb08bc2d621988b771cc1ebd6070 (patch)
tree177212c65f2a90748c80beb8983070ddaae4d04d /TimeHACK.Main/SeizureWarning.cs
parent9205136293b7bc77e570baaffdf0836c3aeef2aa (diff)
downloadhistacom2-717f7caf678aeb08bc2d621988b771cc1ebd6070.tar.gz
histacom2-717f7caf678aeb08bc2d621988b771cc1ebd6070.tar.bz2
histacom2-717f7caf678aeb08bc2d621988b771cc1ebd6070.zip
added seizure warning
Diffstat (limited to 'TimeHACK.Main/SeizureWarning.cs')
-rw-r--r--TimeHACK.Main/SeizureWarning.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/TimeHACK.Main/SeizureWarning.cs b/TimeHACK.Main/SeizureWarning.cs
new file mode 100644
index 0000000..ea14576
--- /dev/null
+++ b/TimeHACK.Main/SeizureWarning.cs
@@ -0,0 +1,27 @@
+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;
+using System.IO;
+
+namespace TimeHACK
+{
+ public partial class SeizureWarning : UserControl
+ {
+ public SeizureWarning()
+ {
+ InitializeComponent();
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ File.WriteAllText(Path.Combine(Engine.SaveSystem.DataDirectory, "o.k"), ".");
+ this.Hide();
+ }
+ }
+}