private void CheckIfFinished(object state) { if (!LocalVars.ReadyToLaunch) { System.Threading.Timer timer = new System.Threading.Timer(new TimerCallback(CheckIfFinished), null, 1, 0); } else { Visible = true; if (GlobalVars.UserConfiguration.DiscordPresence) { label1.Text = "Starting Discord Rich Presence..."; StartDiscord(); } label1.Text = "Launching Game..."; LocalFuncs.SetupURIValues(); StartGame(); } }
private void button1_Click(object sender, EventArgs e) { GlobalFuncs.LogPrint("Attempting to install URI."); LocalFuncs.RegisterURI(this); Close(); }
private void button1_Click(object sender, EventArgs e) { LocalFuncs.RegisterURI(this); Close(); }