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.
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:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.