0

I have a Form1 as shown in the image bellow. When I click on the Open 1st Window button, it will open the Form2. But I can't go back to Form1 to click on the second Open 2nd Window button till I close Form2.

enter image description here

shenku
  • 11,969
  • 12
  • 64
  • 118
Learner_51
  • 1,075
  • 3
  • 22
  • 38

1 Answers1

3

Probably you are using ShowDialog method.Use Show method instead when you open your second form.ShowDialog waits until you close your Form and your program doesn't go to the next line.You can take a look at these question for more details:

Community
  • 1
  • 1
Selman Genç
  • 100,147
  • 13
  • 119
  • 184