void OnServerNotifyRoomLeave(ServerMessage.NotifyRoomLeave message) { // TODO: Display popup notice if (message.Reason == RoomLeaveReason.KickedForAfk) { Popups.MakeMessagePopup(Strings.Popups.KickedForAfk).Show(); } ChangeMenu(ViewBrowser); }
void OnConnectionClosed(object sender, EventArgs e) { Popups.MakeMessagePopup(Strings.Popups.ConnectionError, () => ChangeMenu(ViewLogin)).Show(); }