Ejemplo n.º 1
0
 public DetalhesPassoUC(DetalhesPassoChildWindow detalhesPassoChildWindow, TestCaseView parentWindow, MainWindow mainWindow, Model.PassoDoTeste passo)
 {
     InitializeComponent();
     this.detalhesPassoChildWindow = detalhesPassoChildWindow;
     this.parentWindow             = parentWindow;
     this.mainWindow        = mainWindow;
     this.passo             = passo;
     this.obsTextBlock.Text = passo.Obs;
 }
Ejemplo n.º 2
0
 public EditAcaoChildUC(EditAcaoChildWindow editAcaoChildWindow, TestCaseView testParentWindow, MainWindow mainWindow, AcaoDyn acao)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.editAcaoChildWindow = editAcaoChildWindow;
     this.testParentWindow    = testParentWindow;
     this.mainWindow          = mainWindow;
     this.acao = acao;
     refresh();
 }
Ejemplo n.º 3
0
 public EditAcaoChildWindow(MainWindow mainWindow, TestCaseView testCaseParentWindow, AcaoDyn acao)
 {
     // TODO: Complete member initialization
     InitializeComponent();
     this.mainWindow           = mainWindow;
     this.testCaseParentWindow = testCaseParentWindow;
     CloseOnOverlay            = false;
     editAcaoChildW            = new EditAcaoChildUC(this, testCaseParentWindow, mainWindow, acao);
     mainGrid.Children.Clear();
     mainGrid.Children.Add(editAcaoChildW);
 }
Ejemplo n.º 4
0
 public DetalhesPassoChildWindow(MainWindow mainWindow, TestCaseView parentWindow, Model.PassoDoTeste passo)
 {
     InitializeComponent();
     this.mainWindow   = mainWindow;
     this.parentWindow = parentWindow;
     this.passo        = passo;
     detalhesPassoUC   = new DetalhesPassoUC(this, parentWindow, mainWindow, passo);
     mainGrid.Children.Clear();
     mainGrid.Children.Add(detalhesPassoUC);
     this.parentWindow = parentWindow;
 }
        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);
        }
Ejemplo n.º 6
0
        public AddAcaoChildUC(AddAcaoChildWindow addAcaoChildWindow, TestCaseView parentWindow1, MainWindow mainWindow, Tela selectedTela1, Sistema selectedSistema1)
            : this(addAcaoChildWindow, null, mainWindow)
        {
            this.selectedSistema = selectedSistema1;

            foreach (Sistema item in sistemasComboBox.Items)
            {
                if (selectedSistema.Id == item.Id)
                {
                    this.selectedSistema = item;
                }
            }
            this.selectedTela = selectedTela1;
            foreach (Tela item in telasCombo.Items)
            {
                if (selectedTela.Id == item.Id)
                {
                    this.selectedTela = item;
                }
            }
        }