Esempio n. 1
0
        private void OnAccountCommand(object obj)
        {
            IsAccountFlyoutOpen = true;
            string UserName = DialogLogginViewModel.Users[0].UserName;
            string ID       = DialogLogginViewModel.Users[0].ID;

            Students = new ObservableCollection <GetStudentsInfoByID_Result>(ST.GetStudentsInfoByID(ID));
            User     = new ObservableCollection <GetUsersDetail_Result>(ST.GetUsersDetail(UserName));
            GetImageUrlFromDatabase();
            Name         = Students[0].Name + " " + Students[0].MiddleName + " " + Students[0].LastName;
            Email        = Students[0].Email;
            UserPassword = User[0].Passwords;
        }