Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to speed up .NET winforms rendering

Tags:

I have a series of forms and navigate between them.

Each form has a set of controls for which I load properties from SQLite database and this is the long (about 1s) operation that doesn't give users the best feeling because the form is gradually being drawn.

I don't quite mind the delay but I'd like the form to be drawn when all data is loaded. I'd like to avoid new threads because this would result in cross-thread operation issues.

Is there any good solution apart from speeding the whole application up by caching the loaded data?