Example #1
0
        public UserInterfaceBase(Tasks.FileLists fileLists, UserOptionsType userOptionsType, RoMoRDuP.MainWindow mainWindow)
        {
            strSelectSourcePath = "SourcePath";
            strSelectTargetPath = "TargetPath";

            this.fileLists = fileLists;

            this.userOptionsType = userOptionsType;

            bTaskExecuteAutoscroll = true;

            this.mainWindow = mainWindow;

            ProcessHash = "Data Amount";

            int_fileFilterOptions         = new FileFilterOptions();
            int_PlaylistFileFilterOptions = new FileFilterOptions();

            SelectedSizeProcessHashItems = new List <System.Windows.Controls.ComboBoxItem>();
            System.Windows.Controls.ComboBoxItem item = new System.Windows.Controls.ComboBoxItem();
            item.Content = "kByte";
            SelectedSizeProcessHashItems.Add(item);

            System.Windows.Controls.ComboBoxItem item2 = new System.Windows.Controls.ComboBoxItem();
            item2.Content = "mByte";
            SelectedSizeProcessHashItems.Add(item2);

            /*
             * System.Windows.Controls.ComboBoxItem item3 = new System.Windows.Controls.ComboBoxItem();
             * item3.Content = "gByte";
             * SelectedSizeProcessHashItems.Add(item3);
             */

            messageBoxUI = new MBUI();

            bUseSameFolderPaths = true;
            bUpdatePlaylists    = true;

            visTarget = Visibility.Collapsed;
            visSource = Visibility.Visible;
        }
Example #2
0
        public WMBExecuteTasks(UserInterface.MBUI mbUI)
        {
            this.mbUI = mbUI;

            InitializeComponent();
        }