C# Execute code on main thread from hyperthread
Go to solution
Solved by Guest,
26 minutes ago, Mira Yurizaki said:snip
I recall seeing a bit about Invoke but just as confused on how to use it.
I ended up using a single flag as I thought of a way that wasn't ueber complex.
As I have about 15~ UI elements that get toggled, I thought I'd have a lot to deal with but I just use 1 boolean & then call that function if it's true & set it (the bool) to false again.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now