private void SeleccionarArticulo(int ArticuloID) { //Provee el codigo del articulo a ser buscado IagregarEditarFacturas FormInterfaceFactura = this.Owner as IagregarEditarFacturas; if (FormInterfaceFactura != null) { FormInterfaceFactura.BuscarArticulo(ArticuloID); } IagregarEditarRecepcion FormInterfaceCompras = this.Owner as IagregarEditarRecepcion; if (FormInterfaceCompras != null) { FormInterfaceCompras.BuscarArticulo(ArticuloID); } iGestionDocumentoCompras FormInterfaseGestionCompras = this.Owner as iGestionDocumentoCompras; if (FormInterfaseGestionCompras != null) { FormInterfaseGestionCompras.BusquedaArticulo(ArticuloID); } this.Close(); }
private void btnSeleccionar_Click(object sender, EventArgs e) { //Provee el codigo del articulo a ser buscado IagregarEditarFacturas FormInterfaceFactura = this.Owner as IagregarEditarFacturas; if (FormInterfaceFactura != null) { FormInterfaceFactura.BuscarReferencia(FacturaID); this.Close(); } }
private void SeleccionarCliente(Int32 _ClienteID) { //Refresca los cambios realizados en la tabla de clientes en el formulario de muestra IagregarEditarFacturas FormInterface = this.Owner as IagregarEditarFacturas; if (FormInterface != null) { FormInterface.BusquedaCliente(_ClienteID); } this.Close(); Inventario.Reportes.IReportes InterfaseReportes = this.Owner as Inventario.Reportes.IReportes; if (InterfaseReportes != null) { InterfaseReportes.SeleccionarCliente(_ClienteID, Indicador); } }