how do i prevented form already loaded....

  • Thread starter Thread starter Supra
  • Start date Start date
S

Supra

how do i prevented form is already loaded. i had mdichild form when i
clicked menu to show form.
using visual studio 2003 in vb.net.
 
Hi,

Option 1: Maintain your own collection of loaded forms and check any new
form instantiation against the collection and prevent further loading if
they are already in it.
Option 2: Implementing singleton pattern on the forms.

how do i prevented form is already loaded. i had mdichild form when i
clicked menu to show form.
using visual studio 2003 in vb.net.
 
Back
Top