Esempio n. 1
0
        private void btnCargaCliente_Click(object sender, EventArgs e)
        {
            using (FormBuscarClienteR form = new FormBuscarClienteR())
            {
                if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
                {
                    tbClienteNombre.Text = form.cliente;
                    tbRuc.Text           = form.ruc;
                    tbDocumento.Text     = form.dni;
                    tbtipodoc.Text       = form.tipodoc;
                    tbrazonsocial.Text   = form.empresa;
                    tbIdCliente.Text     = form.idcliente;

                    CNProductos objProducto = new CNProductos();
                }
            }
        }
Esempio n. 2
0
        private void ListaCLiente_Click(object sender, EventArgs e)
        {
            FormBuscarClienteR formMP = new FormBuscarClienteR();

            formMP.ShowDialog();
        }