public bool Abrir_Sesion(string nombre, string password) { if (!openSesion) { if (this.User == null) { this.User = new Usuario(); } this.openSesion = this.User.Autenticate(nombre, password); if (!this.openSesion) { return(false); } #region Cargar la configuracion loadConfig(); #endregion #region Informacion d elas pruebas try { XmlReader r = new XmlTextReader(Resources.PATH_Xml); this.XmlInfo = new XMLDocInformation(r); r.Close(); } catch (Exception) { var rp = new Resp(Resources.MSG_InfoNotLoaded); rp.Show(); return(false); } #endregion return(true); } return(false); }