public static bool RestoreDefaults() { string pathFile = instance.GetLogFilePath() + "/" + personalSettingsXmlFile; if (File.Exists(pathFile)) { File.Delete(pathFile); m_instance = null; return true; } return false; }