public void update() { string TK = ManageSystem.TK(); int ID = ManageSystem.GetUserID(TK); List <string> a = ManageSystem.UserInfoPersonal(ID); lblTen.Text = a[1]; lblBeginDate.Text = a[4]; statisticResult.UpdateInfoResult(); }
private void Update() { string TK = ManageSystem.TK(); int ID = ManageSystem.GetUserID(TK); List <string> a = ManageSystem.UserInfoPersonal(ID); lblDate.Text = a[0]; lblHoTen.Text = a[1]; lblGioiTinh.Text = a[2]; lblGmail.Text = a[3]; }
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); }