aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/Program.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-05-20 09:19:29 -0400
committerGitHub <[email protected]>2017-05-20 09:19:29 -0400
commit6b6678c7667afd035ed959e2ddd56bc506d878c9 (patch)
treec20001bd412885f8c4082bec2634f4e4feb58251 /TimeHACK.Main/Program.cs
parentc4578aa476699552fbb950fd536a757be7086977 (diff)
parent516928f112a8b646d81d99693fbbcd4e5c45b6e2 (diff)
downloadhistacom2-6b6678c7667afd035ed959e2ddd56bc506d878c9.tar.gz
histacom2-6b6678c7667afd035ed959e2ddd56bc506d878c9.tar.bz2
histacom2-6b6678c7667afd035ed959e2ddd56bc506d878c9.zip
Merge pull request #1 from TimeHACKDevs/master
Merge
Diffstat (limited to 'TimeHACK.Main/Program.cs')
-rw-r--r--TimeHACK.Main/Program.cs28
1 files changed, 27 insertions, 1 deletions
diff --git a/TimeHACK.Main/Program.cs b/TimeHACK.Main/Program.cs
index 1c66b45..1b89e53 100644
--- a/TimeHACK.Main/Program.cs
+++ b/TimeHACK.Main/Program.cs
@@ -6,6 +6,11 @@ using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft.Json.Linq;
using System.Net;
+using Newtonsoft.Json;
+using TimeHACK.OS;
+using TimeHACK.OS.Win95;
+using TimeHACK.OS.Win95.Win95Apps;
+
namespace TimeHACK
{
@@ -14,7 +19,9 @@ namespace TimeHACK
internal static bool nightly = true;
internal static string gameID;
internal static TitleScreen title = null;
-
+ public static string AddressBookSelectedFolderName;
+ public static AddressBookContact AddressBookSelectedContact;
+
/// <summary>
/// The main entry point for the application.
/// Run TitleScreen.cs at launch.
@@ -22,6 +29,7 @@ namespace TimeHACK
[STAThread]
static void Main()
{
+ System.Diagnostics.Debugger.Launch();
if (nightly == true)
{
try
@@ -42,6 +50,24 @@ namespace TimeHACK
{
gameID = "TimeHACK 1.1";
}
+
+ //TimeHACK.Engine.GameSave.SaveData MySaveData = new TimeHACK.Engine.GameSave.SaveData()
+ //{
+ // OS = 60,
+ // MyStringList = new List<string>
+ // {
+ // "Item1",
+ // "Item2"
+ // }
+ //};
+
+ //string TheJSON = JsonConvert.SerializeObject(MySaveData, Formatting.Indented);
+ //MessageBox.Show(TheJSON);
+ //MySaveData.OS = 40;
+ //MessageBox.Show(MySaveData.OS.ToString());
+
+ //MySaveData = (TimeHACK.Engine.GameSave.SaveData)JsonConvert.DeserializeObject(TheJSON, MySaveData.GetType());
+ //MessageBox.Show(MySaveData.OS.ToString());
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(title = new TitleScreen());