How to show MDI child form into panel 2 of split container.
For eg : Whenever i wil click link button from panel 1 the form should open in panel 2 of split container.
I tried this code
private void linkLabel1_LinkClicked_1(object sender, LinkLabelLinkClickedEventArgs e)
{
Form f1 = new Form();
SetParent(f1.Handle, splitContainer1.Panel2.Handle);
f1.Show();
}
But the form is opening in the outside window.
So pls help.....
Thanks in Advance....