public bool OpenOrCreateSettingsDocument(bool isCreateIfNotExist, string settingsFileNameToUse) { m_settingsFileName = settingsFileNameToUse; //Create blank XML doc m_NotepadXDocument = new HierarchicalContentDocument(new DocumentConfiguration(null, "Categorial configuration file for product: " + Path.GetFileName(Application.ExecutablePath))); return(this.ReloadFromFile(isCreateIfNotExist)); }
public ApplicationSettings(string settingsFileNameToUse) { m_NotepadXDocument = null; m_NotepadXDocument = new HierarchicalContentDocument(new DocumentConfiguration(null, "Categorial configuration file for product: " + Path.GetFileName(Application.ExecutablePath))); m_settingsFileName = settingsFileNameToUse; }