I have a program that reads in an xml file containing the information for forms (ex. buttons, labels, textboxes). this works all good. But there are about 200 forms that have different controls on them. When you load the first couple of forms the program runs fine and is pretty quick. After about 20 or so forms it starts to slow down. eventually it becomes so slow that it seems to hang up.
all of the controls on the forms are created dynamically and when i clear the form i loop through all of the controls and dispose of them.
I took all of the code out that saves data from these forms. so all i have in there now is the code that loads the controls on to the single form and disposes of the controls.
the problem still exists. anybody have any ideas....please...help.....