DirectoryInfo used incorrectly in MainForm.RemoveThumbs()
Brought to you by:
alexvallat,
marclandis
In MainForm.cs:177, the RemoveThumbs() method creates a DirectoryInfo object and then tries to iterate over the files contained in the directory. You are passing in selectedTask.FileSave which resolves to "SomePath\folder.jpg". You should not be passing a filename into the DirectoryInfo constructor. Changing the line from:
DirectoryInfo dirinfo = new DirectoryInfo(selectedtask.FileSave);
to
DirectoryInfo dirinfo = new DirectoryInfo(Path.GetDirectoryName(selectedtask.FileSave));
will create the proper DirectoryInfo object which will allow you to iterate over the files properly.
Development on the 0.6 branch is effectively discontinued at this time. Sorry.
I'd suggest you try the newer XUI version instead.