Пример #1
0
        public void DoFileNew()
        {
            DoFileClose();

            Model = new StringTableEditorModel.Model();
            Model.New();

            OnStringTableSetsChanged();
            if (StringTableSets.Count() > 0)
                SelectedStringTableSet = 0;
        }
Пример #2
0
        public void DoFileOpen(string filename)
        {
            DoFileClose();

            Filename = filename;
            Model = new StringTableEditorModel.Model();
            Model.Open(filename);

            OnStringTableSetsChanged();
            if (StringTableSets.Count() > 0)
                SelectedStringTableSet = 0;
        }