public void Reset() { _instance = new ProjectSettings(); }
public void LoadProject(string projectPath) { using (FileStream fs = new FileStream(projectPath + "\\project.dreamproj", FileMode.Open)) { XmlSerializer serializer = new XmlSerializer(GetType()); _instance = (ProjectSettings)serializer.Deserialize(fs); } _instance.Location = projectPath; }