Vinaya

Vinaya

  • NA
  • 8
  • 0

WinForms Controls.Clear() cause memory leaks?

Oct 22 2009 3:47 AM
I have created a windows application, where on the form i have one pannel, in which i have lots of control, when i tried to call panel.Controls.clear(), to remove the existing controls , memory leaks and when i try to add the controls again, i got an exception. Please help!!!

Answers (2)