Пример #1
0
        public void ShowVentaDialog(int ventaId)
        {
            var venta = FacadeProvider.VentaProvider().Get(ventaId);
            VentaDetailDialogPage ventaDetailViewModel = new VentaDetailDialogPage(venta);

            ventaDetailViewModel.ShowDialog();
        }
Пример #2
0
 public void ShowClienteDeudaDialog()
 {
     if (DeudaCliente != null)
     {
         var DeudaVenta = FacadeProvider.VentaProvider().Get(DeudaCliente.VentaId);
         VentaDetailDialogPage ventaDetailViewModel = new VentaDetailDialogPage(DeudaVenta);
         ventaDetailViewModel.ShowDialog();
     }
 }
        public void ShowVentaEditDialog(VentaModel venta)
        {
            VentaDetailDialogPage ventaDetailDialogPage = new VentaDetailDialogPage(venta);

            ventaDetailDialogPage.ShowDialog();
        }
        /// <summary>
        /// Lanzamos la Pagina que edita las venta seleccionada
        /// </summary>
        /// <param name="param"></param>
        public void ShowClienteVentaDetailPage(object param)
        {
            VentaDetailDialogPage ventaDetail = new VentaDetailDialogPage((VentaModel)param);

            ventaDetail.ShowDialog();
        }