Abou

Hello,

I have the following problem:

I have a main form that has some children forms which each one is shown like

childForm1.Show(mainForm);


It seems that i cannot bring the main form in front of a child when both of them are opened.

Does it exist a way to achieve this

Thanks in advance for any comments.




Re: Windows Forms General Bring to Front Form Problem

nobugz

Use Show() instead of Show(mainForm).





Re: Windows Forms General Bring to Front Form Problem

Abou

The problem arises from the fact that i still want the mainForm to be the owner of its children.




Re: Windows Forms General Bring to Front Form Problem

nobugz

Why





Re: Windows Forms General Bring to Front Form Problem

Abou

I want the mainForm to be owner of other forms because i need all the behaviour characteristics of this relation except of the fact that the mainForm can never be brought in front from its children.
Is this a way to bring the parent form in front of its children

Thanks for comments




Re: Windows Forms General Bring to Front Form Problem

nobugz

That didn't help. What specific behavior do you require