public AddTelaChildWindow(MainWindow mainWindow, TelasView parentWindow)
 {
     this.InitializeComponent();
     this.mainWindow = mainWindow;
     CloseOnOverlay  = false;
     addSysChildW    = new AddTelaChildUC(this, parentWindow, mainWindow);
     mainGrid.Children.Clear();
     mainGrid.Children.Add(addSysChildW);
     this.parentWindow = parentWindow;
 }
Exemple #2
0
 public AddTelaChildUC(AddTelaChildWindow addTelaChildWindow, TelasView parentWindow, MainWindow mainWindow)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.parentChildWindow = addTelaChildWindow;
     this.parentWindow      = parentWindow;
     this.mainWindow        = mainWindow;
     this.refresh();
     //Popular a ComboBox
 }