typedef void __fastcall (__closure *TLoginEvent)(System::TObject* Sender, System::UnicodeString &UserName, System::UnicodeString &Password, bool &Continue)