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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -