void _contentWindow_Closed(object sender, EventArgs e) { LegacyBorderManager.SetManager(_contentWindow, null); }