C# Access main window thread from another thread c# April 11, 2020 admin this.Invoke(new MethodInvoker(delegate { MessageBox.Show("Connected"); }));