Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When iam opening existing project, I couldnt not able to view design part, Instead of that, Iam viewing this error message "
C#
Method 'System.Windows.Forms.Form.SetControl' not found. 

"
Kindly resolve this Issue.

I have attached screenshot in below link.
ErrorOnFormLoad.png - Google Drive[^]

What I have tried:

I have tried using creating new application and added same files in new application. It doesn't work.
Posted
Updated 16-Aug-16 21:59pm
v2

1 solution

According to Form Class (System.Windows.Forms)[^] there is no such method. You should look at the source code to see where this call is being made.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900