I've got a WPF C# application that parses and loads a 1Gig text file. The current loading time for this app to parse the text file is approx 27 seconds. Therefore I would like to make an overlay circular dialog that displays the procentage of loading in the middle of the ListBox. Upon complete load the circular dialog must disappear.
Is it possible to keep this as a single-thread app?
I've spent the last couple of days looking at the web in search of a possible solution. The way I see it if at all possible then it must be a UserControl, but I haven't been able to find any straightforward solution?
My ListBox AXML:
<ListBox x:Name="listBoxTrackers" HorizontalAlignment="Left" Height="448" Margin="30,46,0,0" VerticalAlignment="Top" Width="740" SelectionChanged="listBoxTrackers_SelectionChanged" MouseDoubleClick="listBoxTrackers_MouseDoubleClick">
[put the dialog overlay here]
</ListBox>