WPF loading animation on a separate UI thread? (C#)
问题 Okay, I have a loading animation that runs while a large DataTable is populated to let the user know that the program has not frozen. I have the animation working fine, but it freezes while the DataTable is updatingv as well. Is there some way to have multiple UI threads, so that the animation will continue to run while the DataTable is loading information? EDIT: Current code is below. private void CreateFileTable() { file_data = new DataSet(); data_table = new DataTable(); file_data.Tables