Esempio n. 1
0
 private void Window_Drop(object sender, DragEventArgs e)
 {
     if (e.Data.GetDataPresent(System.Windows.DataFormats.FileDrop))
     {
         string dPath = ((Array)e.Data.GetData(System.Windows.DataFormats.FileDrop)).GetValue(0).ToString();
         BAViewModel.SearchPictures(dPath);
     }
 }