public SaveDataController(string targetFolder, SourcePathController sourceFilesController)
        {
            TargetFolder = targetFolder;
            source       = sourceFilesController.GetSourceModel();
            SerializateLists dataSource = new SerializateLists();
            SerializateLists dataTarget = new SerializateLists();

            if (source != null)
            {
                dataSource.Save(source.FullFilesNames, "fullfilenames.xml");
                dataSource.Save(source.FilesNames, "filenames.xml");
                dataSource.Save(source.DirectoriesNeedCopy, "directories.xml");
            }
            if (TargetFolder != null)
            {
                dataTarget.Save(TargetFolder);
            }
        }
        public LoadDataController()
        {
            SerializateLists loadData = new SerializateLists();

            //Если каталог существует
            TargetPath = loadData.LoadTargetPath("targetlist.xml");

            FullFileNames.AddRange(loadData.Load("fullfilenames.xml").ToList());
            FileNames.AddRange(loadData.Load("filenames.xml").ToList());
            Dirs.AddRange(loadData.Load("directories.xml").ToList());

            if (FullFileNames.Count > 0 && FileNames.Count > 0 && Dirs.Count > 0)
            {
                SourceSet();
            }

            if (TargetPath.Length > 0)
            {
                TargetSet();
            }
        }