c# - Optimize Windows Form Load Time -


i have windows form takes quite bit of time load initially. however, each subsequent request load form doesn't take long. there way optimize form's load time?

you can use ngen.

i use tip reduce memory footprint on startup.

the native image generator (ngen.exe) tool improves performance of managed applications. ngen.exe creates native images, files containing compiled processor-specific machine code, , installs them native image cache on local computer. runtime can use native images cache instead using just-in-time (jit) compiler compile original assembly.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -