Hi there,
I am new in C++/CLR. I am trying to access to Form1 property from a header file, but I can't. I have included this header file in Form1.h. Here is the source of the header file:
// General.h
#ifndef GENERAL_H
#define GENERAL_H
#include "Form1.h"
void ChangeFormText()
{
Form1^ form1 =gcnew Form1();
form1->Text="Hello!";
}
#endif
I REALLY appreciate you help.