Form not allowed to move or choose another form in C# ?
In C#, suppose there are two forms: frmMain and frmChangePass, frmMain open before then click Open frmChangePass, ask frmChangePass are not allowed to move or not to allow select frmMain, must have entered the frmChangePass finish and play again for the allowed select frmMain.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

VulpesRank #55 · 29.2K reputationPosted Jun 28, 2014, 8:07 AM EDT
To prevent the user from selecting frmMain whilst frmChangePass is still open, then just open the latter using the ShowDialog() method rather than the Show() method.