Example #1
0
 public AddSysChildUC(AddSysChildWindow parentChildWindow, SysView parentWindow, MainWindow mainWindow)
 {
     InitializeComponent();
     this.parentChildWindow = parentChildWindow;
     this.parentWindow      = parentWindow;
     this.mainWindow        = mainWindow;
 }
 public AddSysChildWindow(MainWindow mainWindow, SysView parentWindow)
 {
     this.InitializeComponent();
     this.mainWindow = mainWindow;
     CloseOnOverlay  = false;
     addSysChildW    = new AddSysChildUC(this, parentWindow, mainWindow);
     mainGrid.Children.Clear();
     mainGrid.Children.Add(addSysChildW);
     this.parentWindow = parentWindow;
 }