private void Form_TextChanged(object sender, EventArgs e)
 {
     if (DockHelper.IsDockStateAutoHide(DockState))
     {
         DockPanel.RefreshAutoHideStrip();
     }
     else if (Pane != null)
     {
         if (Pane.FloatWindow != null)
         {
             Pane.FloatWindow.SetText();
         }
         Pane.RefreshChanges();
     }
 }