public override void OnResponse(string data) { ReturnCode returnCode = (ReturnCode)int.Parse(data); registerPanel.OnRegisterReponse(returnCode); }