我收到错误,
error C1113: #using failed on 'c:\program files\reference assemblies\microsoft\framework\.netframework\v4.0\system.core.dll'
执行以下代码时......
MyForm.cpp
#include "Myform.h"
using namespace GUI;
[STAThreadAttribute]
int main(){
MyForm fm;
fm.ShowDialog();
return 0;
}
MyForm.h
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}