Пример #1
0
        private void seleccionar_Click(object sender, EventArgs e)
        {
            ProveedoresList form   = new ProveedoresList(true);
            var             result = form.ShowDialog();

            if (result == DialogResult.OK)
            {
                this.proveedor   = (Proveedor)form.returnProveedor;
                clie_nombre.Text = this.proveedor.prov_razon_social;
            }
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            ProveedoresList form   = new ProveedoresList(true);
            var             result = form.ShowDialog();

            if (result == DialogResult.OK)
            {
                this.returnProveedor          = (Proveedor)form.returnProveedor;
                prov_razon_social.Text        = this.returnProveedor.prov_razon_social;
                returnProveedor.prove_usuario = id_usuario;
            }
        }