private void AddMenuItemExecute() { if (SelectedMenuItem != null && CurrentlySelectedMenuItems != null) { CurrentlySelectedMenuItems.Add(SelectedMenuItem); } }
private void AddToOrder(object obj) { if (obj is MenuItem) { CurrentlySelectedMenuItems.Add(obj as MenuItem); } }
private void addMenuItem(MenuItem item) { CurrentlySelectedMenuItems.Add(item); NotifyPropertyChanged("CurrentlySelectedMenuItems"); }
private void AddToOrder(MenuItem menuItem) { CurrentlySelectedMenuItems.Add(menuItem); SubmitOrderCommand.RaiseCanExecuteChanged(); }
private void AddToOrderExecute(MenuItem ChosenItem) { CurrentlySelectedMenuItems.Add(ChosenItem); }
private void AddMenuItem() { CurrentlySelectedMenuItems.Add(SelectedMenuItem); }