Moved solution to new computer

  • Thread starter Thread starter AMP
  • Start date Start date
A

AMP

Hello,
I moved a solution to another computer and some of my forms have lost
thier visual components.
The code is still in the designer and there are no errors in the
build.
Also, with those forms the .designer is not part of the .cs hierarchy
for that class, its just listed below it.
Any Help?
Thanks
 
Hi,

Did you change the namespace for those control, and forgot to change the
namespace in the designer file? In that case you should get a compiler
warning about InitializeComponent not being found. Since you aren't getting
any build error check that there isn't a duplicate and empty
InitializeComponent-method in the code file somewhere.

In any case, if you do have the designer files there, you should be able to
reattach them to the controls.
 
Back
Top