Exemplo n.º 1
0
 public DocumentViewModel(String file, Control control, ViDocManager docManager)
 {
     this.FilePath   = file;
     this.Title      = this.FileName;
     this.Control    = control;
     this.docManager = docManager;
 }
Exemplo n.º 2
0
 public DocumentViewModel(IViEditor editor, ViDocManager docManager)
 {
     this.editor     = editor;
     this.FilePath   = editor.FileName;
     this.Title      = this.FileName;
     this.Control    = editor.Control;
     this.docManager = docManager;
 }