Graphic User Interface freezes after 2 mins
Good day to all,
Please i need your support on how to solve this Problem.I developed a graphic user Interface with 37 trackbars.the trackbars are used to control Led brightness.The application works very well except that after 2mins it hangs.So i have to re-load it before it can be used again.The lines of code below is for two of the 37 trackbar.
Re: Graphic User Interface freezes after 2 mins
You should do the operations in non UI thread and notify the UI thread to update things. Doing everything in the main UI thread can block things up. All calculations and other things can be moved to non UI thread.
|All times are GMT +5.5. The time now is 13:20.|