private void TurboHost_Load(object sender, EventArgs e)
        {
            tAutoTyperDictionary = new Dictionary <int, string>();
            tFileIO  = new FileIO();
            tParser  = new IniParser(tFileIO.GetSettingsFilePath());
            tService = new SpreadsheetsService("TurboHost");
            tTextReplacementDictionary = new Dictionary <string, string>();

            tCurrentDate = GetFormattedDate();
            tDirectory   = tFileIO.FolderPath;

            tBetX = 150;
            tBetY = 150;

            SavedData = CheckSettingsFile();
            if (SavedData == false)
            {
                this.Hide();
                tLogin             = new LoginSetup();
                tLogin.FormClosed += new FormClosedEventHandler(tLogin_FormClosed);
                tLogin.TopMost     = true;
                tLogin.ShowDialog();
            }
            else
            {
                Listener         = new KeyboardHookListener(new GlobalHooker());
                Listener.Enabled = true;

                try
                {
                    HookManager.KeyPress += HookManager_KeyPress;
                }
                catch
                {
                    Console.WriteLine("error");
                }
                FinishLoading();
            }
        }
        private void TurboHost_Load(object sender, EventArgs e)
        {
            tAutoTyperDictionary = new Dictionary<int, string>();
            tFileIO = new FileIO();
            tParser = new IniParser(tFileIO.GetSettingsFilePath());
            tService = new SpreadsheetsService("TurboHost");
            tTextReplacementDictionary = new Dictionary<string, string>();

            tCurrentDate = GetFormattedDate();
            tDirectory = tFileIO.FolderPath;

            tBetX = 150;
            tBetY = 150;

            SavedData = CheckSettingsFile();
            if (SavedData == false)
            {
                this.Hide();
                tLogin = new LoginSetup();
                tLogin.FormClosed += new FormClosedEventHandler(tLogin_FormClosed);
                tLogin.TopMost = true;
                tLogin.ShowDialog();
            }
            else
            {
                Listener = new KeyboardHookListener(new GlobalHooker());
                Listener.Enabled = true;

                try
                {
                    HookManager.KeyPress += HookManager_KeyPress;
                }
                catch
                {
                    Console.WriteLine("error");
                }
                FinishLoading();
            }
        }