Hi all,
am developing a C# Winform Application.Am using the MDI form in my application also i placed a Tab Control in MDI main form.When i tried to show a new form as a MDIchild,But it not showing .
private void mnuForm1_Click(object sender, EventArgs e)
{
Form1 frm1= new Form1();
frm1.MdiParent = this;
frm1.Show();
}
{
Form1 frm1= new Form1();
frm1.MdiParent = this;
frm1.Show();
}
am getting the
"A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll " Error in output window.If i delete that Tab control form MDI then its working...
Here,
What's wrong with adding TabControl in MDIform.
Thanks in Advance..

Prem Anandh JPosted Jan 13, 2016, 6:38 AM
ActiveMdiChild.Close();
frmobj.ShowDialog();
Dharam RaiPosted Jan 9, 2016, 3:08 AM
Ranjit PowarPosted Jan 8, 2016, 10:58 AM
Prem Anandh JPosted Jan 8, 2016, 4:56 AM
Dharam RaiPosted Jan 8, 2016, 4:12 AM