I am building two applications that work on the same database. My problem is that i want to create an automatic update.
Details :
I have a farmacy and on the main form i am displaying some data (list of medicines for example).
I have another application that allows me to add/edit/delete drugs.
I want the first application to update from time to time (1-2 seconds).
I tried creating another thread in the main application and call it with a 2 seconds sleep, but it frezees the application and i don’t want that. I want the applications (both of them) to be functional and do a background update somehow.
Ideas ?
A BackgroundWorker would allow you to do this.