コード例 #1
0
        private async void dataGuests()
        {
            guests = await database.GetGuestAsync();

            residents = await database.GetResidentsAsync();

            guests = guestsWithName(guests);
            OnPropertyChanged("Guests");
        }
コード例 #2
0
ファイル: GuestUserViewModel.cs プロジェクト: oshanoshu/myrez
        public async void dataGuests()
        {
            isBusy = true;

            residents = await database.GetResidentsAsync();

            guests = await database.GetGuestAsync();

            guestNow = guestsWithName(guests);
            OnPropertyChanged("Guest");
            checkinTime = guestNow.CheckinTime;
            OnPropertyChanged("CheckinTime");
            guestName = guestNow.GuestName;
            OnPropertyChanged("GuestName");
            isBusy = false;
            OnPropertyChanged("IsBusy");
            //string abc = "0";
        }