示例#1
0
 public void Open(WeeklyMenu week_menu)
 {
     ViewModel.Show(week_menu);
     ContentSource = new Uri("/Views/OverviewPage.xaml", UriKind.Relative);
     Open();
 }
示例#2
0
        public void Add(WeeklyMenu menu)
        {
            logger.Debug(string.Format("Adding weekly menu - week {0}, {1}", menu.Week, menu.Year));

            WeeklyMenus.Add(menu);
        }
示例#3
0
        public void Show(WeeklyMenu weekly_menu)
        {
            SetAllExpansion(false);
            SetAllSelection(false);

            weekly_menu.Select();
        }
示例#4
0
        public void Add(WeeklyMenu menu)
        {
            logger.Debug(string.Format("Adding weekly menu - week {0}, {1}", menu.Week, menu.Year));

            WeeklyMenus.Add(menu);
        }