Updating UI
Hi InternetSavage,Just to add to Matt, If you would do the long running task in the UI thread then there is no use of disabling the button as the view would already be unresponsive. In your scenario, I...
View ArticleUpdating UI
The button isn't getting a chance to update it's visual because the long running code is executing on the UI thread. Moving the long running task to a background thread is the go here. Like this......
View ArticleUpdating UI
This should be pretty simple. I have a button on a WPF window that performs a long running task and I'd like to disable the button while the code is running so that it cannot be pressed again until it...
View Article
More Pages to Explore .....