private void btnbuscarcliente_Click(object sender, EventArgs e) { if (id_tipo_venta == 1) { Buscadores.BuscadorClientes buscarclientes = new Buscadores.BuscadorClientes(id_tipo_venta, this, null, null); buscarclientes.ShowDialog(); } else if (id_tipo_venta == 2) { Buscadores.BuscadorClientesCUI buscadorClientesCUI = new Buscadores.BuscadorClientesCUI(id_tipo_venta, this); buscadorClientesCUI.ShowDialog(); } }
private void btnbuscarcliente_Click(object sender, EventArgs e) { Buscadores.BuscadorClientes buscadorClientes = new Buscadores.BuscadorClientes(1, null, this, null); buscadorClientes.ShowDialog(); }