private void InitilizePomElementsMappingPage()
 {
     if (pomAllElementsPage == null)
     {
         pomAllElementsPage = new PomAllElementsPage(mWizard.POM);
         pomAllElementsPage.ShowTestAllElementsButton = Visibility.Collapsed;
         pomAllElementsPage.mappedUIElementsPage.MainElementsGrid.ValidationRules.Add(ucGrid.eUcGridValidationRules.CantBeEmpty);
         xPomElementsMappingPageFrame.Content = pomAllElementsPage;
     }
 }
Esempio n. 2
0
 private void InitilizePomElementsMappingPage()
 {
     if (mPomAllElementsPage == null)
     {
         mPomAllElementsPage = new PomAllElementsPage(mWizard.mPomLearnUtils.POM, PomAllElementsPage.eAllElementsPageContext.AddPOMWizard);
         mPomAllElementsPage.ShowTestAllElementsButton = Visibility.Collapsed;
         mPomAllElementsPage.mappedUIElementsPage.MainElementsGrid.ValidationRules.Add(ucGrid.eUcGridValidationRules.CantBeEmpty);
         xPomElementsMappingPageFrame.Content = mPomAllElementsPage;
     }
 }