void Current_OnBadgesLoaded(Visitor sender, VisitorEventArgs e) { if (e.Error != null) { // Error is not nil, badge load failed, do something with the error } else { } }
void Current_OnScoreLoaded(Visitor sender, VisitorEventArgs e) { if (e.Error != null) { // Score load failed, do something with the error } else { VisitorScoreBlock.Text = Visitor.Current.Score.ToString(); } }