Windows Form ?

  • Thread starter Thread starter WJ
  • Start date Start date
W

WJ

My app. has a dozen forms. Some of them are "Disposed()" when the user
clicks the top-right "X" button. Some are not purged (I use "purge" to mean
that the form/object is completely removed from the RAM) despite the "X"
button is touched.

In c#, I need to know how:

1. To show a list of form(s) that are currently active but not shown in the
desktop (yes, including the current active desktop one)
2. Check a form to see if it is already created via "new FormClass", if so,
this.show it, otherwise create a new instance of the form.

Thanks,

John
 
pei_world said:
are you using MDI form, if it is the case then use MDIchildren in your
parent form

Thanks for your respond. No, I am not using MDI, I am using SDI. Some of the
forms are very complex and I donot want to dispose() of it for performance
purposes. These forms cannot be recreated because they will exhaust the
system memory and freezed.

John
 
Back
Top