Page 1 of 1

[C#] Parameter is not valid is designer?

Posted: Thu Nov 06, 2014 4:10 am
by SumCode
So I have this program that will get movies and add them to this list, however when I use my search/sort features the program will throw a
An exception of type 'System.ArgumentException' occurred in System.Drawing.dll but was not handled in user code

Additional information: Parameter is not valid.
On the custom control designer file when there are a lot of movies stored in the program.

To replicate this you would
  • Use the 'Add from List' option in the program, while debugging
  • Put in a random IMDb list (I used this link)
  • Click Find Movies
  • Click apply
  • Goto main form and change the sorting type
  • Get this error:
Image

Source for program:
Download. Sorry for mega link (File is too big for site [~8.6 MBs])

Virustotal Scan