void vm_OnNewSaleItemAdded(object sender, EventArgs e) { NumberSelection.Reset(); BuyItemsScrollViewer.ScrollToEnd(); ItemsTabControl.SelectedIndex = 0; }
public MainViewModel(Document document, NumberSelection selection) { _document = document; _selection = selection; }