예제 #1
0
 public MovieItemProvider(FilePageViewModel cvm)
     : this(cvm.CurrentVideoFolder.ChildrenSize, 1000)
 {
     CVM                            = cvm;
     BGW                            = new BackgroundWorker();
     BGW.DoWork                    += BGW_DoWork;
     BGW.ProgressChanged           += BGW_ProgressChanged;
     BGW.RunWorkerCompleted        += BGW_RunWorkerCompleted;
     BGW.WorkerSupportsCancellation = true;
     BGW.WorkerReportsProgress      = true;
 }
예제 #2
0
        public FilePage()
        {
            InitializeComponent();

            BindingContext = _viewModel = new FilePageViewModel(this);
        }