Windows Form Constructors
I am starting a new Windows Forms application using the CLR, but I have started it as an "empty project" in Visual Studio 2008, rather than starting it automatically as a Windows Forms project.
I've added a Form to the project, and called it MyForm.
I now want to create an instance of that form, so I have written :
However, I get the following error :
MyForm my_form = gcnew MyForm();
"error C3673: 'NewProject::MyForm' : class does not have a copy-constructor"
Please could somebody explain what this means? I don't understand the info on this error on the MSDN website...