VB.NET: Force user to use the topmost form
- by SiliconCelery
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.