Exemple #1
0
        private void AddFolderDialog_OnFinished(object sender, EventArgs e)
        {
            var addfiledialogVM = ((sender as AddFolderDialog).DataContext as AddFolderDialogViewModel);

            if (addfiledialogVM.FileHasChange)
            {
                ApplicationService.SaveMovieFolders();
                MovieDataSource.LoadAllFolders(addfiledialogVM.RemovedFolders);
            }
            HasNoFolderAction();
        }
Exemple #2
0
        private void HomePageLocalNoFolder_OnFinished(object sender, RoutedEventArgs e)
        {
            if (e == null)
            {
                return;
            }
            NewFolderModel newFolderModel = e.Source as NewFolderModel;

            if (newFolderModel.NewFolderCollection == null)
            {
                return;
            }
            MovieDataSource.LoadAllFolders();
            ApplicationService.SaveMovieFolders();
        }