//PRODUCTS BUTTONS
        private void productsButton_Click(object sender, RoutedEventArgs e)
        {
            ProductListWindow plw = new ProductListWindow();

            this.Hide();
            plw.ShowDialog();
            this.Show();
        }
Пример #2
0
        public void ShowProductList()
        {
            if (SelectedProduct != null)
            {
                temporarySelectedProduct = SelectedProduct;
                ProductListCollection    = db.GetProductList(temporarySelectedProduct);

                _productListWindow = new ProductListWindow();
                _productListWindow.ShowDialog();
            }
        }