private void OldProcessSetup()
        {
            Process pptProcess  = GetChildProcess(GetTestingSlideName());
            Process mainProcess = GetMainProcessAndCloseOthers(pptProcess);

            WindowWatcher.Setup(mainProcess, pptProcess, Constants.pptProcess);
            InitWhiteList();
        }
        private void NewProcessSetup()
        {
            string exePath = Properties.Settings.Default.PowerPoint_path;

            if (exePath == null || exePath.Length == 0)
            {
                OldProcessSetup();
                return;
            }
            PPTProcessWrapper pptProcessWrapper =
                new PPTProcessWrapper(exePath,
                                      GetTestingSlideName(), PathUtil.GetDocTestPath());
            Process mainProcess = GetMainProcessAndCloseOthers(null);

            WindowWatcher.Setup(mainProcess, pptProcessWrapper, Constants.pptProcess);
            InitWhiteList();
        }