protected virtual void ViewConceptoFacturaEAction() { if (!ControlsMng.IsCurrentItemValid(ConceptosE_DGW)) { return; } OutputInvoiceLineInfo line = ControlsMng.GetCurrentItem(ConceptosE_DGW) as OutputInvoiceLineInfo; InvoiceViewForm form = new InvoiceViewForm(line.OidFactura, this); form.ShowDialog(this); }
protected virtual void ViewFacturaEAction() { if (!ControlsMng.IsCurrentItemValid(FacturasE_DGW)) { return; } OutputInvoiceInfo invoice = ControlsMng.GetCurrentItem(FacturasE_DGW) as OutputInvoiceInfo; InvoiceViewForm form = new InvoiceViewForm(invoice.Oid, this); form.ShowDialog(this); }