Beispiel #1
0
 private void OnDocumentClosing(DocumentViewModel vm)
 {
     if (_documents.Contains(vm))
     {
         _documents.Remove(vm);
     }
 }
Beispiel #2
0
 public void OpenSourceFile(JadeData.Project.File file)
 {
     DocumentViewModel d = new DocumentViewModel(file.Name, "Test " + file.Name);
     _openDocuments.Add(d);
     SelectedDocument = d;
 }
Beispiel #3
0
 internal void Add(DocumentViewModel doc)
 {
     _documents.Add(doc);
 }