Memory Management In Dynamically Updating Contents

Mar 30, 2010 at 2:25 PM


I am trying to develop a test application with multiple windows. I have a main window with buttons. each button leads to another window. The application runs ok as long as i do not try disposing any of the windows. If i dispose off a window and create its contents again the memory usage is shooting up with each cycle of disposing and creating new components leading to low memory availability and application crash. It seems that when i call dispose() it is not destroying the objects. I might be doing something wrong. Can someone please explain.

Mar 31, 2010 at 11:54 AM

Can someone please verify whether dispose() in control.cs is functional or not..