When I try to show a form, I have to use ShowDialog instead of Show. (This is causing problems later in my code.) When I use show, the form pops up for a 开发者_JS百科second and then the program closes. (VB.Net 2003)
Use Application.Run()
after showing your form so the application can continue working.
Or use Application.Run(yourForm)
which will show your form and keep the application running until the yourForm
closes.
精彩评论