WPF VS 2010 C#
Have a window where the beginning of the code behind is to collect data for a view that take 45 secs or more…how would you do a please wait message that last until
the view is collected.
also, is there any way to have a wait cursor ?
Load the data in a BackgroundWorker. Use the BackroundWorkers
ProgressChanged-event to show progress message.Because the loading operation now runs async, you have to make sure that your UI does not allow the user to do things that are invalid in the current application state (loading). The most simple possibility to do this, is to disable the window with the
IsEnabled-property set tofalse.