private void Page_UserInfo_Loaded(object sender, RoutedEventArgs e)
        {
            ws = new kidmathwebserviceSoapClient();
            List <khoaHoc> dskhoahoc = new List <khoaHoc>();

            dskhoahoc = ws.getDataKhoaHocAsync().Result.Body.getDataKhoaHocResult.ToList <khoaHoc>();
            flipview_dskhoahoc.ItemsSource = dskhoahoc;



            txtblock_userloginedname.Text = UserSession.userlogined.tenNguoiDung;
            txtblock_email.Text           = UserSession.userlogined.email;
            txtblock_soDienThoai.Text     = UserSession.userlogined.soDienThoai;
            txtblock_tenNguoiDung.Text    = UserSession.userlogined.tenNguoiDung;
            txtblock_username.Text        = UserSession.userlogined.username;
            txtblock_soTienDaNap.Text     = Convert.ToString(UserSession.userlogined.soTienDaNap) + "  ( VNĐ)";
            txtblock_soTienHienCo.Text    = UserSession.userlogined.soTienHienCo + "  ( VNĐ)";



            ws = new kidmathwebserviceSoapClient();
            List <muaKhoaHoc> dslichsumua = new List <muaKhoaHoc>();

            dslichsumua = ws.getDatMuaKhoaHocAsync().Result.Body.getDatMuaKhoaHocResult.ToList <muaKhoaHoc>();
            dslichsumua = dslichsumua.FindAll(hoadon => hoadon.username == UserSession.userlogined.username);
            foreach (var oder in dslichsumua)
            {
                oder.giaKhoaHoc = -oder.giaKhoaHoc;
                if (oder.maKhoaHoc == "l1cb")
                {
                    oder.maKhoaHoc = "Mua khóa lớp 1";
                }
                else if (oder.maKhoaHoc == "l2cb")
                {
                    oder.maKhoaHoc = "Mua khóa lớp 2";
                }
                else if (oder.maKhoaHoc == "l3cb")
                {
                    oder.maKhoaHoc = "Mua khóa lớp 3";
                }
                else if (oder.maKhoaHoc == "l4cb")
                {
                    oder.maKhoaHoc = "Mua khóa lớp 4";
                }
                else if (oder.maKhoaHoc == "l5cb")
                {
                    oder.maKhoaHoc = "Mua khóa lớp 5";
                }
                else if (oder.maKhoaHoc == "ontapcb")
                {
                    oder.maKhoaHoc = "Mua khóa ôn tập";
                }
                else
                {
                    oder.maKhoaHoc = "Không xác định";
                }
            }
            gvlichsumua.ItemsSource = dslichsumua;

            ws = new kidmathwebserviceSoapClient();
            List <lichSuNapTien> dslichsunap = new List <lichSuNapTien>();

            dslichsunap = ws.getDataLichSuNapTienAsync().Result.Body.getDataLichSuNapTienResult.ToList <lichSuNapTien>();
            dslichsunap = dslichsunap.FindAll(hoadon => hoadon.username == UserSession.userlogined.username);

            gvlichsunap.ItemsSource = dslichsunap;
        }