cdbean04 wrote:Hi everybody,
am writing a windows universal app for my raspberry pi. I need this app to increment 25 separate text boxs starting at different intervals until they receive a stop signal. What do I need to use to get this accomplished. I have tried threading and have looked into using thread pool or async/await, but I am haveing no luck figuring out what to do. I am hoping someone can point me in the right direction.
What's the actual use case for this? If you use a technique like mvvm it shouldn't matter how often you update the textboxes and there might be a better data model you could use.
I would personally start with something simple and just create 25 DispatcherTimers and see if there would be any problems with that. From there you can go an try different techniques to optimize and make it faster (like using a single loop).