private void FloatingPane_StartDrag(object sender, EventArgs e)
        {
            _sideLocationPane?.Close();
            _sideLocationPane = null;

            _windowLocationPane?.Close();
            _windowLocationPane = null;

            SelectedPane = null;
        }
 public void Shutdown()
 {
     try
     {
         _windowLocationPane?.Close();
         _windowLocationPane = null;
     }
     catch
     {
         // Ignore
     }
     try
     {
         _sideLocationPane?.Close();
         _sideLocationPane = null;
     }
     catch
     {
         // Ignore
     }
 }