I have problems with bringing a windows mobile 6 form to the front. I tried things like this already
Form1 testForm = new Form1();
testForm.Show();
testForm.BringToFront();
testForm.Focus();
But it's always behind the form that includes that code. The only things that have worked for me are
testForm.TopMost = true;
or Hide(); the old form and then show the new one, but i want to avoid hiding the other form. TopMost isn't very clean anyway with using multiple other forms.
The other thing that works is
testForm.ShowDialog();
but I don't want to show the form modal.
To cut it short. I just want to show the new form in front of another form, and if I close it, I want to see the old form again.
Maybe someone can help me with this problem. Thank you.