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.
VulpesPosted Jun 28, 2014, 12:07 PM
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.