/// <summary>
        /// 
        /// </summary>
        /// <param name="thumbnailView"></param>
        /// <param name="state"></param>
        public void Run(ThumbnailView thumbnailView, ThumbnailWorkerState state)
        {
            _thumbnailView = thumbnailView;
            _tnvState = state;

            _bgWorker.RunWorkerAsync();
        }
Beispiel #2
0
        public void Run(ThumbnailView thumbnailView, ThumbnailWorkerState state)
        {
            foreach (ClearListCompleted instance in _clearListCompleted.GetInvocationList())
                instance(_thumbnailView, _tnvState);

            //_thumbnailView = thumbnailView;
            //_tnvState = state;
            //_bgWorker.RunWorkerAsync();
        }
Beispiel #3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="thumbnailView"></param>
        /// <param name="state"></param>
        /// <param name="metaItemQueue"></param>
        public void Run(ThumbnailView thumbnailView, ThumbnailWorkerState state, Queue<ThumbnailMetaItem> metaItemQueue)
        {
            _thumbnailView = thumbnailView;
            _tnvState = state;
            _metaItemQueue = metaItemQueue;
            _loadedMetaItemQueue = new Queue<ThumbnailMetaItem>();
            _bgWorker.RunWorkerAsync();

            _timer.Start();
        }
Beispiel #4
0
 public ThumbnailWorkerState(ThumbnailView thumbnailView, Dictionary<ListViewItem, IFSInfo> listViewDict)
 {
     ThumbnailView = thumbnailView;
     Cancel = false;
     DirectoryInfo = null;
     ListViewDict = listViewDict;
 }