Exemple #1
0
        private SettingsVM()
        {
            MenuItemsData = new ObservableCollection <MenuItemDataVM>()
            {
                new MenuItemDataVM("Дети", ChildrenSetVM.GetInstance()),
                new MenuItemDataVM("Блюда", new DishListSetVM())
            };

            backspaceButton      = () => { };
            BackspaceButtonClick = new MenuItemDataCommand(Backspace_btn_click);
        }
Exemple #2
0
 public ChildrenSet()
 {
     InitializeComponent();
     DataContext = ChildrenSetVM.GetInstance();
 }