Example #1
0
        public DataEditor GetDataEditorForFile(ProjectFile file)
        {
            var vm  = new DataEditor_ViewModel(this, file);
            var win = new DataEditor(vm);

            return(win);
        }
Example #2
0
 public DataEditor(DataEditor_ViewModel vm)
 {
     DataContext = vm;
     InitializeComponent();
     vm.TreeView = treeview;
 }