public ref class GfxArc : public Geometry::PiArc{
public:
void onRefreshProperty(){
};
GfxArc(){ this->OnModify += gcnew Geometry::PiArc::OnModifyEventHandler( this,
&GfxArc::onRefreshProperty );
};
};
When you make an event in VB.NET, an event handler in the background is made (OnModifyEventHandler in this case).
I spent half a day until I found this out.