I have found that loading of some forms in my winforms project take a while to load. I'm yet to find the cause for sure, but I suspect that thet loading of Infragistics tools is causing it. This is based on the following:
This leads me to beleive that loading the infragistics tools into memory for the first time is causing the problem.
So, my questions are, is my guess here likely to be correct (Infagstics tools loading is causing delays). And if so, what can I do about it?
Thanks.
What's likely happening here is that the Infragistics DLLs are getting compiled by the JIT compiler when you load a form that has a control that exists in an assembly that has not been loaded yet; you will get this behavior with any DLLs that are sufficiently large. What you could do is to simply create an object that exists in the assemblies that you will need to load, and do so at a time of your choosing.
-Matt