public static void HideDesignOverlay()
 {
     if (designOverlay != null)
     {
         designOverlay.OverlayVisible = false;
         designOverlay.Hide();
         designOverlay.Close();
         designOverlay = null;
     }
 }
 public static void CloseNotice()
 {
     WPFHelper.Invoke(() =>
     {
         if (NoticeView != null)
         {
             NoticeView.DataContext = null;
             NoticeView.Close();
             NoticeView = null;
         }
     });
 }