作业帮 > 综合 > 作业

[求助]C#中出现The name '*** ' does not exist in the current conte

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/13 16:37:33
[求助]C#中出现The name '*** ' does not exist in the current context~
c#中windowsForms application中出现error:The name '*** ' does not exist in the current context~
比如:The name 'InitializeComponent' does not exist in the current context;
但是我在form.designer.cs中定义过InitializeComponent了~
哪位大虾帮忙看看这是什么原因,该怎么解决丫~
ps:我用的是vs2010~
The name 'InitializeComponent' does not exist in the current context;是指一种语法错误.在程序的某处可能定义了InitializeComponent,但是它不在当前作用域内.你看看自己的程序InitializeComponent在不在当前作用域内