示例#1
0
        public override void Execute(object parameter)
        {
            var product = (ProductViewModel)parameter;
            EditProductWindow editProductForm = new EditProductWindow(new EditWindowViewModel(product));

            editProductForm.Show();
        }
示例#2
0
        private void OnEditCommandExecuted(object p)
        {
            EditProductWindow newProduct = new EditProductWindow();

            newProduct.Show();
        }