3
Answers

How to prevent opening multiple instances of the same form

Photo of dileepn

dileepn

21y
4.7k
1
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

Answers (3)