Beispiel #1
0
 public WindowManager(MasterModel root, MainWindow mainWindow)
 {
     this.root        = root;
     this.mainWindow  = mainWindow;
     this.graphWindow = null;
     this.codeWindow  = null;
     this.testWindow  = null;
 }
Beispiel #2
0
 public void ShowCodeWindow()
 {
     if (this.WindowExist(this.codeWindow))
     {
         this.codeWindow.Focus();
     }
     else
     {
         this.codeWindow = new CodeWindow();
         var VMwindow = new VMcode(this.codeWindow, this.root.Contracts);
         this.codeWindow.DataContext = VMwindow;
         this.codeWindow.Show();
     }
 }