예제 #1
0
 public void loadFolderAsync(string path, ThumbnailView container = null)
 {
     for (int i = 0; i < 2 * Environment.ProcessorCount; i++)
     {
         Thread t = new Thread(new ParameterizedThreadStart(loadFolder));
         t.IsBackground = true;
         t.Start(new Tuple<string, ThumbnailView>(path, container));
     }
 }
예제 #2
0
 public void loadDBAsync(string path, ThumbnailView container = null)
 {
     Thread t = new Thread(new ParameterizedThreadStart(loadDB));
     t.IsBackground = true;
     t.Start(new Tuple<string, ThumbnailView>(path, container));
 }