razorkai

Hi all.

I have recently taken over a new C# application as part of my new job and I have encountered a situation that is slowly driving me mad. There is one specific form within the application that takes forever to open in the form designer. I right click View Designer and the form starts to open. Within 5 - 8 seconds the form has completely drawn on screen but then the PC's cpu spikes to near 100% and the IDE just sits there for over 2 1/2 minutes before it suddenly springs back to life. This happens every time I open the form or even when Visual Studio (2005) decides it wants to redraw the form in the designer. With this happening at least 10 times a day I am really getting hit by a productivity loss here. I hope someone can help as I have tried everything I know to figure this out. Here are some details about the form:-

It contains about 5 TabControls all with at least three tab pages containing a few TextBoxes and ComboBoxes.

There are also around 15 DataGridViews on the form bound to BindingSource controls.

The BindingSource controls all have their DataSource properties set to DataTables within a DataSet.

There is no code in the constructor (other than InitialiseComponent) or the Load event - in fact I have removed all code behind the form and it still has the problem.

I am trying to get them to install SP1 in the hope it might help, but I have a horrible feeling it will make no difference at all. If anyone could suggest how I am supposed to debug this issue I would love to hear it! Any ideas at all would be great.

TIA.



Re: Windows Forms General IDE Freezes with high CPU every time form is opened

nobugz

Install SP1.





Re: Windows Forms General IDE Freezes with high CPU every time form is opened

razorkai

Are you saying that because you know it will fix my issue or just because SP1 is so much better I can't see anything similar in the bug fix list for SP1.



Re: Windows Forms General IDE Freezes with high CPU every time form is opened

nobugz

There is no reliable bugfix list available for SP1, it just lists problems that made it into a KB article. Many other fixes were made, Intellisense performance is one of them.





Re: Windows Forms General IDE Freezes with high CPU every time form is opened

razorkai

Just installed SP1 and I am sorry to say the issue is still exactly the same. Any other thoughts on this