protected override void OnHandleDestroyed(EventArgs e)
 {
     textWindow.ReleaseHandle();
     base.OnHandleDestroyed(e);
 }