private void Load()
        {
            List <Day> viewDays = controller.OpenWeek();

            tasks.ItemsSource = viewDays.Where(x => x.TaskName != null);
            tasks.Items.Refresh();
        }
Exemple #2
0
        private void Weekly_Plans(object sender, RoutedEventArgs e)
        {
            WeeklyPlansPage plans = new WeeklyPlansPage();

            Pages.Content = plans;
            controller.OpenWeek();
        }
 private void Weekly_Plans(object sender, RoutedEventArgs e)
 {
     NavigationService.Navigate(new WeeklyPlansPage());
     controller.OpenWeek();
 }
 public WeeklyPlansPage()
 {
     InitializeComponent();
     controller = new OrganizerAppController();
     controller.OpenWeek();
 }