找不到方法'system.windows.forms.form.setcontrol' [英] Method 'system.windows.forms.form.setcontrol' not found

查看:105
本文介绍了找不到方法'system.windows.forms.form.setcontrol'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当iam打开现有项目时,我无法查看设计部分,而不是那样,我查看此错误消息

When iam opening existing project, I couldnt not able to view design part, Instead of that, Iam viewing this error message "

Method 'System.Windows.Forms.Form.SetControl' not found. 





请妥善解决此问题。



我在下面的链接中附上了截图。

ErrorOnFormLoad.png - Google云端硬盘 [ ^ ]



我的尝试:



我尝试过使用创建新应用程序并在新应用程序中添加相同文件。它不起作用。


"
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.

推荐答案

根据表单类(System.Windows.Forms) [ ^ ]没有这样的方法。您应该查看源代码以查看此调用的位置。
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.


这篇关于找不到方法'system.windows.forms.form.setcontrol'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆