aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/Program.cs
diff options
context:
space:
mode:
authorAlex-TIMEHACK <[email protected]>2017-05-19 21:01:07 +0100
committerAlex-TIMEHACK <[email protected]>2017-05-19 21:01:07 +0100
commit044d3dd3aa38f02693d1d2561a4276b2dc1bdd9a (patch)
tree44ce55271632801b9d0d677cc275376ea0bdff59 /TimeHACK.Main/Program.cs
parent4221dbc55084b0269c82e027b6ac56957acb9912 (diff)
downloadhistacom2-044d3dd3aa38f02693d1d2561a4276b2dc1bdd9a.tar.gz
histacom2-044d3dd3aa38f02693d1d2561a4276b2dc1bdd9a.tar.bz2
histacom2-044d3dd3aa38f02693d1d2561a4276b2dc1bdd9a.zip
My Address Book is done!
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());