public bool pruebaConMysql()
        {
            this._configMySQL          = new clases.ConfiguracionMysql();
            this._configMySQL.server   = this.tbServidorMs.Text;
            this._configMySQL.user     = this.tbUsuarioMs.Text;
            this._configMySQL.pass     = this.tbContraseniaMs.Text;
            this._configMySQL.database = this.tbBaseDeDatosMs.Text;
            this._configMySQL.port     = this.tbPuertoMs.Text;

            ClientesMicrosipPortal.clases.Mysql_DAL mySQL = new clases.Mysql_DAL(this._configMySQL);

            bool result = mySQL.pruebaConn();

            return(result);
        }
        private void _cargaInfoMs()
        {
            try
            {
                clases.Mysql_DAL mysql = new clases.Mysql_DAL(this._configMySQL);

                List <clases.Vendedores> vendedores = mysql.getVendedores();

                this.cmbVendedorMS.DataSource    = vendedores;
                this.cmbVendedorMS.DisplayMember = "nombre";
                this.cmbVendedorMS.ValueMember   = "vendedorId";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }