Execute simple Logic without “locking” the UI

后端 未结 4 1174
一个人的身影
一个人的身影 2021-01-26 05:41

I have a dialog with some txb\'s and a button. When this button is clicked I want to change the button\'s Text, disable the button, start some Logic and then close the Window.

4条回答
  •  后悔当初
    2021-01-26 06:05

    You can have a thread that performs the calculation. This may help: Threads in CSharp

提交回复
热议问题