sorry took another look at your description. Are you saying that your code files don't load when your solution loads? Check where your projects are stored and see if they are still there but not loading. The default location for project files is My Documents\Visual Studio 2010\Projects. If you find the prject, and your files are still there, you can try loading the project into the solution, using the Add Project option. If that won't work you can try to load the form and class files, separately. Then save your solution again.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...