解决了。
它的出现是为了避免IntelliSense变得疯狂,委托定义必须超出事件父类范围。因此,在我的情况下,我必须做的就是把事情弄清楚(对于IntelliSense)是将代表移到课堂外添加 public 关键字,例如:
public
namespace FavaTest { public delegate void FavaDelegate(); // moved out of the class with "public" public ref class FavaClass : public System::Windows::Forms::UserControl { public: [...] // -- here defines very simple event -- // delegate row away from here event FavaDelegate^ FavaEvent; [...] } }