public OrderWindow(IOrderWindowViewModel orderWindowViewModel/*, IAddOrderWindow addOrderWindow*/, IShowOrderWindow showOrderWindow, IArchivedOrdersWindow archivedOrderWindow) { OrderWindowViewModel = orderWindowViewModel; //AddOrderWindow = addOrderWindow; ShowOrderWindow = showOrderWindow; ArchivedOrderWindow = archivedOrderWindow; this.DataContext = OrderWindowViewModel; InitializeComponent(); }
public OrderWindow(IOrderWindowViewModel orderWindowViewModel /*, IAddOrderWindow addOrderWindow*/, IShowOrderWindow showOrderWindow, IArchivedOrdersWindow archivedOrderWindow) { OrderWindowViewModel = orderWindowViewModel; //AddOrderWindow = addOrderWindow; ShowOrderWindow = showOrderWindow; ArchivedOrderWindow = archivedOrderWindow; this.DataContext = OrderWindowViewModel; InitializeComponent(); }