public void DoFileNew() { DoFileClose(); Model = new StringTableEditorModel.Model(); Model.New(); OnStringTableSetsChanged(); if (StringTableSets.Count() > 0) { SelectedStringTableSet = 0; } }
public void DoFileOpen(string filename) { DoFileClose(); Filename = filename; Model = new StringTableEditorModel.Model(); Model.Open(filename); OnStringTableSetsChanged(); if (StringTableSets.Count() > 0) { SelectedStringTableSet = 0; } }