internal bool SaveChanges() { Cursor = Cursors.WaitCursor; string errList = _variablesManager.CheckForEmptyRows(); errList += _acronymManager.CheckForEmptyRows(); if (errList != string.Empty) { Cursor = Cursors.Default; errList = "The following variables/acronyms are invalid:\n\n" + errList + "\nPlease correct!"; Tools.UserInfoHandler.ShowError(errList); return(false); } _varConfigFacade.WriteXML(); _varConfigFacade.RefreshVariables_NamesAndDescriptions(); // update for intellisense _hasChangedSinceLastSave = false; SetButtonGreyState(); Cursor = Cursors.Default; return(true); }