I have the following code:
StatusLabel.Content = "Copying files...";
AutoCopy();
StatusLabel.Content = "Finished";
The above code is a button click and when I click the button, I expect to see a label with "Copying files...", then it will copying files via an AutoCopy method and then the label with "Finished"
I do not see "Copying files". All I see is the screen freeze up and then unfreezed with "Finished".
How can I get "Copying files to show..." and only after AutoCopy() is finished, do I want to show "Finished";