public AddAcaoChildWindow(MainWindow mainWindow, TestCaseView parentWindow1, Screen selectedTela, Sistema selectedSistema) { // TODO: Complete member initialization InitializeComponent(); this.mainWindow = mainWindow; this.parentWindow1 = parentWindow1; CloseOnOverlay = false; addAcaoChildW = new AddAcaoChildUC(this, parentWindow1, mainWindow, selectedTela, selectedSistema); mainGrid.Children.Clear(); mainGrid.Children.Add(addAcaoChildW); }
public AddAcaoChildWindow(MainWindow mainWindow, AcoesView parentWindow) { // TODO: Complete member initialization InitializeComponent(); this.mainWindow = mainWindow; this.parentWindow = parentWindow; CloseOnOverlay = false; addAcaoChildW = new AddAcaoChildUC(this, parentWindow, mainWindow); mainGrid.Children.Clear(); mainGrid.Children.Add(addAcaoChildW); }