private void HandleReset()
 {
     _copy.ForEach(a => HandleElement(NotifyCollectionChangedAction.Remove, a));
     _collection.ForEach(a => HandleElement(NotifyCollectionChangedAction.Add, a));
     _copy.Clear();
     _copy.AddRange(_collection);
 }
Example #2
0
        public void ExportToCsv()
        {
            //string file = SaveDialog.GetCsvFile();
            string folder = SaveDialog.GetDirectoryForSave();

            if (string.IsNullOrEmpty(folder))
            {
                return;
            }
            m_models.ForEach(model => model.ExportToCsv(folder));
            OpenAfterExport(folder);
        }