protected override void OnVisibleChanged(EventArgs e) { base.OnVisibleChanged(e); if (Visible) this.SetMdiClient(); }