Abhi Joz

Abhi Joz

  • NA
  • 13
  • 0

Closing Windows Forms

Sep 30 2009 6:03 AM
Hi Experts... I have an issue...im confident u ppl can resolve this.. ISSUE: i have an application in which i hvnt used MDI Forms. I have around 30 buttons on the main form...on each click it opens another windows forms(so i have 30 forms now)...my prob is everytime i click multiple buttons their respective forms open...this makes the application slow n also my task-bar gets filled...When a form is opened i tried closing all the other forms by creating their objects(and using object.close() )...even this makes the performance standstill...i need solution where i can close the existing opened forms when i click any button to open a specific form...plzz help. Thanks in advance.

Answers (4)