예제 #1
0
        private async void GetWSP()
        {
            DateTime datum_montag = StartingDateOfWeek(DateTime.Now), datum_freitag = datum_montag.AddDays(4);

            Mondat.Text         = datum_montag.ToString("dd.MM.yyyy");
            Frdat.Text          = datum_freitag.ToString("dd.MM.yyyy");
            WSP_MON.ItemsSource = await WebsiteCon.getStundenplan(datum_montag);

            WSP_DIE.ItemsSource = await WebsiteCon.getStundenplan(datum_montag.AddDays(1));

            WSP_MIT.ItemsSource = await WebsiteCon.getStundenplan(datum_montag.AddDays(2));

            WSP_DON.ItemsSource = await WebsiteCon.getStundenplan(datum_montag.AddDays(3));

            WSP_FR.ItemsSource = await WebsiteCon.getStundenplan(datum_montag.AddDays(4));
        }
예제 #2
0
        private async void GetSPTM()
        {
            SP.ItemsSource = await WebsiteCon.getStundenplan();

            TM.ItemsSource = await WebsiteCon.getTermine();
        }