Esempio n. 1
0
        //--------------------------------------------------------Set-, Get- Metoden:---------------------------------------------------------\\
        #region --Set-, Get- Metode--



        #endregion
        //--------------------------------------------------------Sonstige Metoden:-----------------------------------------------------------\\
        #region --Sonstige Metoden (Public)--



        #endregion

        #region --Sonstige Metoden (Private)--



        #endregion

        #region --Sonstige Metoden (Protected)--



        #endregion
        //--------------------------------------------------------Events:---------------------------------------------------------------------\\
        #region --Events--
        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            CalendarHandler.getCalendarList();
            StringDataEntity data = CalendarHandler.getNextEntry();

            if (data != null)
            {
                lecturName_lbl.Text = data.entry;
                lecturTime_lbl.Text = data.date.ToString();
            }
        }
Esempio n. 2
0
        //--------------------------------------------------------Events:---------------------------------------------------------------------\\
        #region --Events--
        private void Page_Loaded(object sender, RoutedEventArgs e)
        {
            //CalendarHandler.getCalendarList();
            StringDataEntity data = CalendarHandler.getNextEntry();

            if (data == null)
            {
                return;
            }

            TravelDataEntity entity = TravelDataManager.getTravelData(data.date);

            populateDiagramm(entity);
        }