public bool pruebaConMicro()
        {
            this._configMicro         = new clases.ConfiguracionMicrosip();
            this._configMicro.empresa = "";
            this._configMicro.path    = this.tbServidorM.Text + ":" + this.tbBaseDatosM.Text;
            this._configMicro.user    = this.tbUsuarioM.Text;
            this._configMicro.pass    = this.tbContraseniaM.Text;
            this._configMicro.port    = this.tbPuertoM.Text;

            ClientesMicrosipPortal.clases.Firebird_DAL fireB = new clases.Firebird_DAL(this._configMicro);

            bool result = fireB.pruebaConn();

            return(result);
        }
        private void _cargaInfo()
        {
            try
            {
                clases.Firebird_DAL      fireB      = new clases.Firebird_DAL(this._configMicro);
                List <clases.Vendedores> vendedores = fireB.getVendedores();
                List <clases.Cobradores> cobradores = fireB.getCobradores();
                List <clases.CondPago>   condPagoA  = fireB.getCondPago();
                List <clases.CondPago>   condPagoN  = fireB.getCondPago();

                this.cmbVendedores.DataSource    = vendedores;
                this.cmbVendedores.DisplayMember = "nombre";
                this.cmbVendedores.ValueMember   = "vendedorId";

                this.cmbCobrador.DataSource    = cobradores;
                this.cmbCobrador.DisplayMember = "nombre";
                this.cmbCobrador.ValueMember   = "cobradorId";

                this.cmbCPAnterior.DataSource    = condPagoA;
                this.cmbCPAnterior.DisplayMember = "nombre";
                this.cmbCPAnterior.ValueMember   = "condPagoId";

                this.cmbCPNueva.DataSource    = condPagoN;
                this.cmbCPNueva.DisplayMember = "nombre";
                this.cmbCPNueva.ValueMember   = "condPagoId";

                long vendedorId = vendedores.Where(w => w.esPred.Equals("S")).Select(s => s.vendedorId).FirstOrDefault();
                long cobradorId = cobradores.Where(w => w.esPred.Equals("S")).Select(s => s.cobradorId).FirstOrDefault();
                long condPagoId = condPagoA.Where(w => w.esPred.Equals("S")).Select(s => s.condPagoId).FirstOrDefault();

                this.cmbCobrador.SelectedValue   = cobradorId;
                this.cmbVendedores.SelectedValue = vendedorId;
                this.cmbCPAnterior.SelectedValue = condPagoId;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }