How to prevent opening multiple instances of the same form
Hi,
In Windows application how to prevent opening multiple instances of the same form.
I got code like this in a menu item
Form objfrm = new frm;
objfrm.show
it works fine. But when I am clicking on the menu item again it is opening another instance. I want to bring the first instace to front like form.Zorder in visual basic.
Thanks
DN
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

kiran_kuchiba108 reputationPosted Jul 20, 2004, 7:27 AM EDT
wheezhacker2 reputationPosted Nov 11, 2004, 9:12 PM EST
robin 0186 reputationPosted Nov 12, 2004, 8:08 AM EST