void MainFormBase_Activated(object sender, EventArgs e) { // active child formbase if (ActiveChild != null) { ActiveChild.PerformActivated(); } }