From d017789f50230d4b7a5fc4abbd141f5d0d936d6c Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Thu, 8 Feb 2018 01:20:33 -0600 Subject: [PATCH] Use BeginInvoke call in task call --- DS4Windows/DS4Forms/DS4Form.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index 9c768c5..8329b7f 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -703,7 +703,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question wc2.DownloadFile(url2, exepath + "\\DS4Updater.exe"); else { - MessageBox.Show(Properties.Resources.PleaseDownloadUpdater); + this.BeginInvoke((System.Action)(() => MessageBox.Show(Properties.Resources.PleaseDownloadUpdater))); Process.Start($"http://23.239.26.40/ds4windows/files/{updaterExe}"); } }