Esempio n. 1
0
 public DayOverview()
 {
     InitializeComponent();
     //MainPageViewModel model = new MainPageViewModel();
     //list.ItemsSource = model.GetAppointments();
     ThisAppointmentApp.Models.Calendar calendar = new ThisAppointmentApp.Models.Calendar();
     list.ItemsSource = calendar.GetTodayAppointments();
 }
        public WeekOverzicht()
        {
            InitializeComponent();

            ThisAppointmentApp.Models.Calendar calendar = new ThisAppointmentApp.Models.Calendar();
            ScheduleAppointmentCollection      appointmentCollection = new ScheduleAppointmentCollection();
            List <ScheduleAppointment>         appointments          = calendar.scheduleAppointments;

            schedule.DataSource = appointments;
        }