public AddOrderWindow(IAddOrderViewModel addOrderViewModel, IAddItemWindow addItemWindow) { AddOrderViewModel = addOrderViewModel; AddItemWindow = addItemWindow; this.DataContext = AddOrderViewModel; InitializeComponent(); AddOrderViewModel.AddObserverListView(ItemsListView); }
public AddOrderWindow(IAddOrderViewModel addOrderViewModel, IAddItemWindow addItemWindow) { AddOrderViewModel = addOrderViewModel; AddItemWindow = addItemWindow; this.DataContext = AddOrderViewModel; InitializeComponent(); AddOrderViewModel.AddObserverListView(ItemsListView); }
public AddItemViewModel(IOrderWindowViewModel orderWindowViewModel, IAddOrderViewModel addOrderViewModel) { AddOrderViewModel = addOrderViewModel; OrderWidnowViewModel = orderWindowViewModel; }
public AddItemViewModel(IOrderWindowViewModel orderWindowViewModel, IAddOrderViewModel addOrderViewModel) { AddOrderViewModel = addOrderViewModel; OrderWidnowViewModel = orderWindowViewModel; }