I found something useful to share with you guys. Instead of the following code
form2.TopMost = true;
use this code in the main form:
form2.Owner = this;
If you use the Form.TopMost property, the form will overlap all other not topmost forms, but also other applications. Instead, set the Form.Owner property to the parent form — the one that should be in the form (for example, in the main form). Good luck with the G00d :)
source
share