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

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