void SaveConfig() { string filename = Utils.GetFile(); if (filename.Length < 1) { return; } PersistSettings.Save(LiveCollection, filename); }
void LoadPersistedConfig() { string filename = Utils.GetFile(); if (filename == null) { return; } object loadedobject = PersistSettings.Load(filename); if (loadedobject != null) { //LiveCollection = (ObservableCollection<ISessionColumn>)loadedobject; } }
void LoadPersistedConfig() { if (String.IsNullOrEmpty(PersistFilename)) { PersistFilename = Utils.GetFile(); } if (PersistFilename == null) { return; } object loadedobject = PersistSettings.Load(PersistFilename); if (loadedobject != null) { LiveCollection = (ObservableCollection <ISessionColumn>)loadedobject; } }