c# - When does the vaIue of the InvokeRequired property change? -


When I want to use delegate class to call windows to work, I It's okay to always have to use InvokeRequired. But when it is working, then the Enverkerclide property has changed. Please check this image: Alt Text

You are calling Delegate.BeginInvoke In the button1_Click , which means SayListeyeEkle will be called in thread-pool thread - which means that it's true that the InvokeRequired is correct If you call List1Ekle directly in the UI thread, then does not will not be correct.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -