/// <summary>
 /// Конструктор
 /// </summary>
 public MainWindowViewModel()
 {
     _notificationManager = NotificationManager.GetInstance();
     _notificationManager.PropertyChanged += NotificationManagerOnPropertyChanged;
     TaskList = new ObservableCollection<Task>(_notificationManager.Tasks);
 }
        /// <summary>
        /// Возвращает ссылку на себя (Одиночка)
        /// </summary>
        /// <returns></returns>
        public static NotificationManager GetInstance()
        {
            if (_me == null)
            {
                _me = new NotificationManager();
            }

            return _me;
        }