/ Published in: C#
Expand |
Embed | Plain Text
using System.Threading; private void btnStart_Click(object sender, EventArgs e) { t.Start(); } private void AsyncGetResults() { // Do some not-GUI-touching stuff // ... // So some GUI-touching stuff if (panellWait.InvokeRequired) { { panelWait.Visible = true; })); } // Do some other not-GUI-touching stuff // ... }
You need to login to post a comment.
