.NET bug? Closing Top Form Shown with ShowDialog? Closes Alll Dialogs?

  • Thread starter Dachshund Digital
  • Start date
D

Dachshund Digital

Can some one recreate this issue?

Create WindowApplication
Using .NET 2.0/Visual Studio Express VB
Button on Main Form to open 2nd Form as ShowDialog
Button on 2nd Form to open 3rd Form as ShowDialog
Closing 3rd Form, ALSO closes 2nd Form!!!!!

This has to be a bug?
 
D

dgk

Can some one recreate this issue?

Create WindowApplication
Using .NET 2.0/Visual Studio Express VB
Button on Main Form to open 2nd Form as ShowDialog
Button on 2nd Form to open 3rd Form as ShowDialog
Closing 3rd Form, ALSO closes 2nd Form!!!!!

This has to be a bug?

I did that once, with the beta, and could not figure out why it was
happening. I checked everything. I re-wrote the app, starting fresh,
even cutting and pasting the same code, and the new version did not
have that problem. I have no idea why it did it and didn't spend any
more time investigating, just went on with the new app which never did
it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top