示例#1
0
        public PomNewAddedElementSelectionPage(ObservableList <DeltaElementInfo> deltaElementInfos, PomDeltaUtils pomDeltaUtils, string searchText, UserControls.GridColView gridColView)
        {
            InitializeComponent();
            mPomDeltaUtils = pomDeltaUtils;
            mDeltaElements = deltaElementInfos;

            mAgent = mPomDeltaUtils.Agent;

            mPomDeltaViewPage = new PomDeltaViewPage(mDeltaElements, gridColView);
            mPomDeltaViewPage.SetAgent(mAgent);
            mPomDeltaViewPage.xMainElementsGrid.Grid.Columns[1].Visibility = Visibility.Collapsed;
            mPomDeltaViewPage.xMainElementsGrid.btnMarkAll.Visibility      = Visibility.Collapsed;

            mPomDeltaViewPage.xMainElementsGrid.txtSearch.Text = searchText;
            xNewPomElementsPageFrame.Content = mPomDeltaViewPage;


            // set LiveSpy Agent
            xLiveSpy.DriverAgent      = mAgent;
            xLiveSpy.PropertyChanged += XLiveSpy_PropertyChanged;
        }
示例#2
0
 private void InitilizePomElementsMappingPage()
 {
     mPomDeltaViewPage = new PomDeltaViewPage(mWizard.mPomDeltaUtils.DeltaViewElements);
     mPomDeltaViewPage.SetAgent(mWizard.mPomDeltaUtils.Agent);
     xPomElementsMappingPageFrame.Content = mPomDeltaViewPage;
 }