private void HandleRecreated(object sender, EventArgs e)
{
// If any of the child destroy itself and recreate
// reattach the Outlookbar as the parent
Control c = (Control)sender;
IntPtr hParent = WindowsAPI.GetParent(c.Handle);
if (hParent != Handle)
{
WindowsAPI.SetParent(c.Handle, Handle);
}
}