private void EditOrder(object obj)
        {
            EditProductViewModel epvm = new EditProductViewModel(_editProductsDialogService);

            epvm.Present(epvm);
            Messenger.Default.Send <ProductModel>(SelectedProduct);
        }
 public void ShowDialog(EditProductViewModel editProdVM)
 {
     this.DataContext = editProdVM;
     this.Show();
 }
 public void Present(EditProductViewModel prodVM)
 {
     _dialogService.ShowDialog(prodVM);
 }
示例#4
0
 public void Present(EditProductViewModel prodVM)
 {
     _dialogService.ShowDialog(prodVM);
 }