Example #1
0
 private void Add_Click(object sender, EventArgs e)
 {
     if (this.CurrentFolder.Text != string.Empty)
     {
         string[] paths = service.GetAllMediaPathsFromFolder(CurrentFolder.Text, this.Recursive.Checked);
         foreach (string itemPath in paths)
         {
             AddItemSequence addItem = new AddItemSequence(itemPath);
             if (addItem.ShowDialog() != DialogResult.OK)
             {
             }
         }
     }
 }