Does anyone know about Multiple Document Interfaces in C#? I'm having trouble with Form.Show(this) to keep one of the child forms perpetually on top of the rest. If the form already has an owner (set to MdiParent), then the program throws an exception when calling the show method.
Here's a switch case that's supposed to create and display a child form, but errors out due to the problem stated above. Are there any alternatives to this to keep the form on top of all the others?
case Page.Call:
if (call == null)
{
call = new CallForm();
call.MdiParent = this;
call.Dock = DockStyle.Fill;
}
call.Show(this);
break;