private void ParentFormMdiChildActivate(object sender, EventArgs e)
{
if (this.GetMdiClientController().ParentForm == null)
return;
var content = this.GetMdiClientController().ParentForm.ActiveMdiChild as IDockContent;
if (content == null)
return;
if (content.DockHandler.DockPanel == this && content.DockHandler.Pane != null)
content.DockHandler.Pane.ActiveContent = content;
}