windows form while restore
-
hi i have created a small application in vb.net .if we minimise the application and restore it we are able to see the restoration of controls one by one but not because of system speed. i found the difference when comparing my application with another utility developed in dotnet. comparitively my application is not much big but why it happens.in all the small small application developed by me and my friends i am able to see the same scenario. could any one tell why it looks very slow.and how to make the application much professional.
with regards Balagurunathan.B
-
hi i have created a small application in vb.net .if we minimise the application and restore it we are able to see the restoration of controls one by one but not because of system speed. i found the difference when comparing my application with another utility developed in dotnet. comparitively my application is not much big but why it happens.in all the small small application developed by me and my friends i am able to see the same scenario. could any one tell why it looks very slow.and how to make the application much professional.
with regards Balagurunathan.B
It's hard to say since we are not able to see the code what you wrote in your application.. The problem might occurs for so many reason.. 1. If you are using too much of drawing things (making funcy colors or custom draw or etc) it might make your application slow.. 2. Did you use so many third-party controls in your app? 3. You should use
DoEvent
in some cases. 4. Did you load something in Windows Paint event or show event? If you want to load something, you should use the different thread for that so it won't freeze your UI..Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
It's hard to say since we are not able to see the code what you wrote in your application.. The problem might occurs for so many reason.. 1. If you are using too much of drawing things (making funcy colors or custom draw or etc) it might make your application slow.. 2. Did you use so many third-party controls in your app? 3. You should use
DoEvent
in some cases. 4. Did you load something in Windows Paint event or show event? If you want to load something, you should use the different thread for that so it won't freeze your UI..Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
no i am not using too many third party controls and all application is not slow when we are minimising the form it gets minimised in fraction but while restoring it we are able to see the things likke form loads,panel and cotrols. there is no spl code i am using . if its in form load event ok but on every restore after minimising the application it looks slow comparitively to application developed by professionals. the sam thing happens for all my friends application also . i am not asking any behaviour while loading the application or control. my doubt is while retoring the application after minimising i application should restore in fraction.
with regards Balagurunathan.B