コード例 #1
0
 private void StartScan(bool reScan)
 {
     if (toolStripComboBoxSource.SelectedIndex > -1)
     {
         EnableControls(true, false);
         GallerySource source = (GallerySource)((ComboBoxItem)toolStripComboBoxSource.SelectedItem).Tag;
         RemoveTreeNodes(source.RootFolder);
         _worker.ScanSource(source, reScan);
     }
 }