示例#1
0
        private void editProduct(object parameter)
        {
            Window editionWindow = new ProductCreation(selectedProduct);

            editionWindow.Closed += updateShownProducts;
            editionWindow.ShowDialog();
        }
示例#2
0
        private void createProduct(object parameter)
        {
            Window creationWindow = new ProductCreation();

            creationWindow.Closed += updateShownProducts;
            creationWindow.ShowDialog();
        }