I am trying to load a form class from a program running as a tray icon that originally used
FileList frmFileList = new FileList();
Now instead of a filelist I want to use a custom form but I get the error:
Error 1 'System.Windows.Forms.Control.ControlCollection' does not contain a definition for 'Cast' and no extension method 'Cast' accepting a first argument of type 'System.Windows.Forms.Control.ControlCollection' could be found (are you missing a using directive or an assembly reference?)
Any ideas?