Find garbage object in form designer file ?
When designing a form dragging objects (forms) into an edit and delete form, somehow the object on the form is deleted but the code in the form (Form.Designer.cs) does not delete the form. Is there a way to quickly find code not deleted in the above file ?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nilesh ShahRank #42 · 34.2K reputationPosted Aug 11, 2017, 5:20 AM EDT
Sorry, I fail to understand your question, may be you need to provide more details.
do you mean that in designer.cs file, in initializecomponent method there is some code for controls you already deleted from UI?
Dong Lam TrienRank #1,538 · 1K reputationPosted Aug 11, 2017, 11:41 PM EDT
Nilesh ShahRank #42 · 34.2K reputationPosted Aug 14, 2017, 4:14 AM EDT
Sorry, I did not understand your explaination.
Can you post the proejct as zip file so that it can be downloaded ans seen what's the problem?