public UCTaskViewMirrorParent(Tasks.Tasks tasks)
        {
            this.tasks = tasks;

            this.userOptionsBase = tasks.userOptions.userOptionsMirror;

            InitializeComponent();

            if (ucParentSource == null)
            {
                ucParentSource = new UserControls.UCTaskViewParent(tasks, userOptionsBase, tasks.taskPlannerMirror, TaskViewParentType.Source, tasks.playlistUpdatesMirror);

                //Initialize start panel
                TaskViewSourcePanel.Children.Add(ucParentSource);
            }

            if (ucParentTarget == null)
            {
                ucParentTarget = new UserControls.UCTaskViewParent(tasks, userOptionsBase, tasks.taskPlannerMirror, TaskViewParentType.Target, tasks.playlistUpdatesMirror);

                //Initialize start panel
                TaskViewTargetPanel.Children.Add(ucParentTarget);
            }
            ;
        }
Esempio n. 2
0
        public UCTaskExecute(UserInterface.UserInterfaceBase userOptionsBase)
        {
            this.userOptionsBase = userOptionsBase;

            userOptionsBase.ScrollToEndTaskExecute = ScrollToEnd;

            InitializeComponent();
        }
Esempio n. 3
0
        public UCGenerateHashes(Tasks.Tasks tasks, UserInterface.UserInterfaceBase userOptionsBase)
        {
            this.tasks = tasks;

            this.userOptionsBase = userOptionsBase;

            InitializeComponent();
        }
Esempio n. 4
0
        public TaskExecute(Tasks.FileLists fileLists, UserInterface.UserInterfaceBase userInterface, PlaylistUpdates.PlayListUpdatesModel playlistUpdatesModel)
        {
            this.fileLists = fileLists;

            this.playlistUpdatesModel = playlistUpdatesModel;

            this.userInterface = userInterface;
        }
Esempio n. 5
0
        public UCTaskViewChildBefore(Tasks.Tasks _tasks, TaskViewParentType taskViewParentType, UserInterface.UserInterfaceBase userOptions)
        {
            this.tasks = _tasks;

            this.userOptions = userOptions;

            this.taskViewParentType = taskViewParentType;

            InitializeComponent();
        }
Esempio n. 6
0
        public PlaylistUpdates(UserInterface.UserInterfaceBase userOptions, Tasks.FileLists fileLists)
        {
            this.userOptions = userOptions;

            this.fileLists = fileLists;

            /*
             * this.SourceFileListBefore = SourceFileListBefore;
             * this.TargetFileListBefore = TargetFileListBefore;
             */
            matrixListPlaylists = new List <List <string> >();

            playlistUpdatesModel = new PlayListUpdatesModel();
        }
Esempio n. 7
0
        public UCSelectSource(Tasks.Tasks tasks, UserInterface.UserInterfaceBase userOptionsBase)
        {
            objDialog = new System.Windows.Forms.FolderBrowserDialog();

            this.tasks = tasks;

            this.userOptionsBase = userOptionsBase;

            //Playlist_Hide_all();

            // Probleme mit aktualisierung, daher window immer neu
            //window_FileFilter = new WFileFilter(userOptionsBase.fileFilterOptions);
            //window_PlaylistFileFilter = new WFileFilter(userOptionsBase.PlaylistFileFilterOptions);


            InitializeComponent();
        }
Esempio n. 8
0
        public UCTaskViewChildAfter(Tasks.Tasks _tasks, TaskViewParentType taskViewParentType, TaskPlanner.TaskPlannerBase taskPlannerBase, degUpdateAfterView updateAfterView, UserInterface.UserInterfaceBase userOptions)
        {
            this.tasks = _tasks;

            this.userOptions = userOptions;

            this.taskViewParentType = taskViewParentType;

            this.updateAfterView = updateAfterView;

            this.taskPlannerBase = taskPlannerBase;

            InitializeComponent();

            TreeView_After.SelectedItemChanged +=
                new RoutedPropertyChangedEventHandler <object>(TreeView_After_SelectedItemChanged);

            TreeView_After.Focusable = true;
        }
Esempio n. 9
0
        public UCTaskViewParent(Tasks.Tasks tasks, UserInterface.UserInterfaceBase userOptionsBase, TaskPlanner.TaskPlannerBase taskPlannerBase, TaskViewParentType taskViewParentType, PlaylistUpdates.PlaylistUpdates playlistUpdates)
        {
            this.taskViewParentType = taskViewParentType;

            this.userOptionsBase = userOptionsBase;

            this.taskPlannerBase = taskPlannerBase;

            InitializeComponent();

            this.BeforeAfter_TabControl = tabControl;

            this.tasks = tasks;

            ucTaskViewChildAfter  = new UCTaskViewChildAfter(tasks, taskViewParentType, taskPlannerBase, new degUpdateAfterView(UpdateAfterView), userOptionsBase);
            ucTaskViewChildBefore = new UCTaskViewChildBefore(tasks, taskViewParentType, userOptionsBase);
            ucPlaylistUpdates     = new UCPlaylistUpdates(playlistUpdates);

            TaskViewParent_After.Children.Add(ucTaskViewChildAfter);
            TaskViewParent_Before.Children.Add(ucTaskViewChildBefore);
            TaskViewParent_Playlists.Children.Add(ucPlaylistUpdates);
        }
Esempio n. 10
0
 public TaskPlannerOptimize(UserInterface.UserInterfaceBase userOptions, TaskViews taskSource, TaskViews taskTarget, Tasks.Tasks tasks, Tasks.FileLists fileLists, PlaylistUpdates.PlaylistUpdates playlistUpdates)
     : base(userOptions, taskSource, taskTarget, tasks, fileLists, playlistUpdates)
 {
     similarTermsModel = new SimilarTermsModel();
 }
Esempio n. 11
0
 public TaskPlannerMirror(UserInterface.UserInterfaceBase userOptions, TaskViews taskSource, TaskViews taskTarget, Tasks.Tasks tasks, FileLists fileLists, PlaylistUpdates.PlaylistUpdates playlistUpdates)
     : base(userOptions, taskSource, taskTarget, tasks, fileLists, playlistUpdates)
 {
     //
 }
 public TaskPlannerRemoveDuplicates(UserInterface.UserInterfaceBase userOptions, TaskViews taskSource, TaskViews taskTarget, Tasks.Tasks tasks, Tasks.FileLists fileLists, TaskPlanner.DuplicatesModel Duplicates, PlaylistUpdates.PlaylistUpdates playlistUpdates)
     : base(userOptions, taskSource, taskTarget, tasks, fileLists, playlistUpdates)
 {
     this.DuplicatesModel = Duplicates;
 }