public void UpdateInfoResult() { string TK = ManageSystem.TK(); int ID = ManageSystem.GetUserID(TK); List <string> a = ManageSystem.UserInfoPersonal(ID); lbTotal.Text = a[5]; // lbTotal.Text = ManageUserAction.GetItemOfAllCollection(0).ListFL.Count().ToString(); lbLearned.Text = lbTotal.Text; lbToLearn.Text = (ManageSystem.CountAllFlashCards() - ManageUserAction.GetItemOfAllCollection(0).ListFL.Count()).ToString(); pbAnimals.Value = ManageUserAction.CalculateProgress(1, ID); pbPlants.Value = ManageUserAction.CalculateProgress(2, ID); pbFruits.Value = ManageUserAction.CalculateProgress(3, ID); pbJob.Value = ManageUserAction.CalculateProgress(4, ID); pbFoodaDrinks.Value = ManageUserAction.CalculateProgress(5, ID); pbSport.Value = ManageUserAction.CalculateProgress(6, ID); pbClothing.Value = ManageUserAction.CalculateProgress(7, ID); pbTechnology.Value = ManageUserAction.CalculateProgress(8, ID); }