problem with multiple forms

May 7 2005 12:50 PM
hi, I have a form let's say Form1 On Form1 I have a button let's say button1. When I press this button I launch another form let's say Form2. However when I press the button again Form2 is launched again. So, I have 2 Form2 on the screen. I had tried with singleton design pattern for Form2 but I have compiler errors due to potection level in Form2. Could you help me please ? I don't know how to do it :( Any help appreciated. Thx , Adisor

Answers (1)