In the main thread, I need to do the following:
The question is that I donβt know how to show the modal form and not stop the main thread.
Any suggestion?
I would use ThreadPool thead ... something like ...
ThreadPool.QueueUserWorkItem(o => dlg.Show());
This will launch the dialog in a separate thread. Your main thread will continue processing.
Source: https://habr.com/ru/post/1720693/More articles:Texture exchange between direct3d and opengl? - openglVim plugin FuzzyFinderTextMate - vimgetting a list of all descendants of an element in mootools - javascriptΠ―Π²Π»ΡΠ΅ΡΡΡ Π»ΠΈ Lua Π»ΡΡΡΠΈΠΌ/ΡΠ°ΠΌΡΠΌ Π±ΡΡΡΡΡΠΌ Π²ΡΠ±ΠΎΡΠΎΠΌ Π΄Π»Ρ ΠΈΠ³ΡΠΎΠ²ΠΎΠ³ΠΎ ΡΠ΅ΡΠ²Π΅ΡΠ°? - c++Is there a way to implement a flat TextBox in C #? - c #Python Cherrypy Access Log Rotation - pythonErlang Web ΠΈ Inets BindAddress - erlangHow to view insecure items on a secure page - securityHow can I build a Flex library from source code on the command line so that I can RSL? - flexΡΠ΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°ΡΠΈΡ ΠΈΠ»ΠΈ ΠΎΡΡΠ°ΡΠ»Π΅Π²ΠΎΠΉ ΡΡΠ°Π½Π΄Π°ΡΡ Π΄Π»Ρ ΠΏΡΠΎΠ΄ΠΎΠ»ΠΆΠΈΡΠ΅Π»ΡΠ½ΠΎΡΡΠΈ "ΡΠ°ΠΉΠΌ-Π°ΡΡΠ°" Π΄Π»Ρ Π²Π΅Π±-ΡΡΡΠ°Π½ΠΈΡ Π΄Π»Ρ ΠΏΡΠ΅Π΄ΠΏΡΠΈΡΡΠΈΠΉ ΡΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΠΎΠΉ ΠΊΠΎΠΌΠΌΠ΅ΡΡΠΈΠΈ Ρ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠ΅ΠΉ ΠΎ Π»ΠΈΡΠ½ΠΎΠΉ ΠΈΠ΄Π΅Π½ΡΠΈΡΠΈΠΊΠ°ΡΠΈΠΈ? - securityAll Articles