typedef void __fastcall (__closure *TReconnectEvent)(System::TObject* Sender, bool &Continue, bool & StopAsking)