/// <summary> /// Asking the user to save the current data or not then all the data is removed from the table /// </summary> /// <param name="save"></param> public void NewFile(bool save) { if (save) { SaveFile(); } SQLQuery.DeleteAllObjects(); buildingManager.DeleteAll(); ClearTable(); filePath = null; savedUpToDate = true; buildingManager.DisplayList(); }