VB.NET: Force user to use the topmost form
Posted
by
SiliconCelery
on Stack Overflow
See other posts from Stack Overflow
or by SiliconCelery
Published on 2011-12-10T11:54:19Z
Indexed on
2012/07/05
21:16 UTC
Read the original article
Hit count: 242
I'm programming a Minesweeper clone in Visual Studio 2010, with VB.NET, as a Windows Form Application, and I'm having trouble with the Game Won and Game Lost forms. When I show those forms, I want the game form to still be visible, so that the player can see where the mines were, but I don't want the game form to be enabled until the Game Won or Game Lost form is closed. Exactly like Windows Minesweeper does when you win or lose.
There aren't any obvious properties for this, as far as I can see, and I've had no luck Googling, I don't know what terms to search.
Any help is appreciated, thanks.
© Stack Overflow or respective owner