This code works but user does not move to that new tab. After the tab is added it has to be clicked on to view? What am I doing wrong?
private void Form1_Load(object sender, EventArgs e)
{
this.IsMdiContainer = true;
this.radDock1.AutoDetectMdiChildren = true;
}
private void radMenuItem1_Click(object sender, EventArgs e)
{
Form childForm = new Form();
childForm.Text = "MDI Child " + DateTime.Now.ToShortTimeString();
childForm.MdiParent = this;
childForm.Show();
}
private void Form1_Load(object sender, EventArgs e)
{
this.IsMdiContainer = true;
this.radDock1.AutoDetectMdiChildren = true;
}
private void radMenuItem1_Click(object sender, EventArgs e)
{
Form childForm = new Form();
childForm.Text = "MDI Child " + DateTime.Now.ToShortTimeString();
childForm.MdiParent = this;
childForm.Show();
}