I was developing a form using split containers within other split containers. I changed the name of one of the split containers and, after I did, I was no longer able to view the form in the .NET designer. Instead, I get an error page that says:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
The two errors I received were:
A circular control reference has been made. A control cannot be owned by or parented to itself.
SplitterDistance must be between Panel1MinSize and Width - Panel2MinSize.
I made some adjustments to the designer code and that got rid of those two errors in the error list at the bottom of my screen. But when I attempt to view the form by clicking on it, I still get the error page with the two errors.
Someone please help. I'm hoping that I don't have to recreate the form's components from scratch. Any help would be greatly appreciated!