private void Window_Loaded(object sender, RoutedEventArgs e)//загрузка в модель из файла { jsn = new JsonIO(PATH); try { _todoData = jsn.LoadData(); } catch (Exception ex) { MessageBox.Show(ex.Message); Close(); } ToDo_List.ItemsSource = _todoData; _todoData.ListChanged += _todoData_ListChanged; }