private static NotificationsBox GetNotificationsWindow()
 {
     if (_window == null)
     {
         _window = new NotificationsBox();
         _window.Closing += OnClosing;
     }
     return _window;
 }
 private static void OnClosing(object sender, EventArgs e)
 {
     _window = null;
 }