954,517 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

App takes time to load after restoring from minizied state

I have created an application. It is a little bit heavy application and i hv tried to minimize the number of functionalities in OnPaint() methods of the various forms. But still my application takes time to repaint the view after it is restored from minimized state. Is there any method to save the view state and other stuff in memory so that we can avoid calling RePaint everytime the app is restored?Im using .NET 2.0 for the application

maha2804
Newbie Poster
2 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

Show me your OnPaint(..) methods..

cikara21
Posting Whiz
340 posts since Jul 2008
Reputation Points: 47
Solved Threads: 69
 

The application contains many OnPaint(). For each control i require it to have a paint method. For example: the menustrip control, title bar etc...
My query is whether i can avoid the operations being done in OnPaint() except for the first time and when a application is minimized i save the view and load from memory itself instead of repainting.?

maha2804
Newbie Poster
2 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You