public OrderWindow(IOrderWindowViewModel orderWindowViewModel/*, IAddOrderWindow addOrderWindow*/, IShowOrderWindow showOrderWindow, IArchivedOrdersWindow archivedOrderWindow)
        {
            OrderWindowViewModel = orderWindowViewModel;

            //AddOrderWindow = addOrderWindow;
            ShowOrderWindow = showOrderWindow;
            ArchivedOrderWindow = archivedOrderWindow;

            this.DataContext = OrderWindowViewModel;

            InitializeComponent();
        }
Example #2
0
        public OrderWindow(IOrderWindowViewModel orderWindowViewModel /*, IAddOrderWindow addOrderWindow*/, IShowOrderWindow showOrderWindow, IArchivedOrdersWindow archivedOrderWindow)
        {
            OrderWindowViewModel = orderWindowViewModel;

            //AddOrderWindow = addOrderWindow;
            ShowOrderWindow     = showOrderWindow;
            ArchivedOrderWindow = archivedOrderWindow;

            this.DataContext = OrderWindowViewModel;

            InitializeComponent();
        }