How to update GUI with backgroundworker?
问题 I have spent the whole day trying to make my application use threads but with no luck. I have read much documentation about it and I still get lots of errors, so I hope you can help me. I have one big time consuming method which calls the database and updates the GUI. This has to happen all the time(or about every 30 seconds). public class UpdateController { private UserController _userController; public UpdateController(LoginController loginController, UserController userController) {