aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/TitleScreen.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-05-02 17:44:50 -0400
committerlempamo <[email protected]>2017-05-02 17:44:50 -0400
commit677e4a8b2f6d1020f88786d2eefdaa06b0e98549 (patch)
treecb511e5b7e6d081b6f313c9f1de9373002e62688 /TimeHACK.Main/TitleScreen.cs
parent01d130bf5c3466d5b581cb3a2cf7bdeb4e5ff721 (diff)
downloadhistacom2-677e4a8b2f6d1020f88786d2eefdaa06b0e98549.tar.gz
histacom2-677e4a8b2f6d1020f88786d2eefdaa06b0e98549.tar.bz2
histacom2-677e4a8b2f6d1020f88786d2eefdaa06b0e98549.zip
google prototype
Diffstat (limited to 'TimeHACK.Main/TitleScreen.cs')
-rw-r--r--TimeHACK.Main/TitleScreen.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/TimeHACK.Main/TitleScreen.cs b/TimeHACK.Main/TitleScreen.cs
index a5cdade..0e39eac 100644
--- a/TimeHACK.Main/TitleScreen.cs
+++ b/TimeHACK.Main/TitleScreen.cs
@@ -1,6 +1,7 @@
using TimeHACK.Properties;
using System;
using System.Drawing;
+using System.IO;
using System.Windows.Forms;
using TimeHACK.OS.Win95;
using TimeHACK.Engine;
@@ -14,9 +15,18 @@ namespace TimeHACK
public static string username;
public static string progress = "95";
+ public static DirectoryInfo thfolder;
+ public static DirectoryInfo datafolder;
+ public static DirectoryInfo profilefolder;
+
public TitleScreen()
{
InitializeComponent();
+ if (!Directory.Exists("C:\\TimeHackData")) thfolder = Directory.CreateDirectory("C:\\TimeHackData");
+ else thfolder = new DirectoryInfo("C:\\TimeHackData");
+ datafolder = Directory.CreateDirectory(thfolder.FullName + "\\Data");
+ Resources.google.Save(datafolder.FullName + "\\google.jpg");
+ profilefolder = Directory.CreateDirectory(thfolder.FullName + "\\Profiles");
}
private void closebutton_Click(object sender, EventArgs e)