Hello,
I am new to WPF and I need some help on this problem that I am facing. I want to implement a queue that the app can add to it a file path to a file to process. The user search for something and they click on the results that they want to add to the queue. I want the queue to process it FIFO once it's in there. If there's nothing in there, don't do anything. I was thinking about the .Net Systems.Collection.Queue for the FIFO feature. But it looks like I have to start a new queue every time a user select something right? How can I create 1 global queue that any class can add stuff to it. Once there's something in the queue, process it. How does the queue knows when there are stuff added to it?
I also looked at ObservableCollection that allows NotifyCollectionChangedEventArgs that runs when something is added or removed. The ObservableCollection doesn't have the Enqueue/Dequeue so that it knows which one is currently processing and which one is next.
Can someone help me piece this picture together for me? Examples would be perfect for me to test and see what's going on and how things work.
Thanks,
AL







