/// <summary>
        /// 窗口加载
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Window_Loaded(object sender, RoutedEventArgs e) {
            gm = new GlobalManager("SearchMemory");

            //set map
            System.IO.File.Delete(gm.gameSettings.rootFolder + @"3D Entities\Level\Level_01.NMO");
            System.IO.File.Copy(Environment.CurrentDirectory + @"\TestMap.nmo", gm.gameSettings.rootFolder + @"3D Entities\Level\Level_01.NMO");

            //init
            mark = new CheatEngine();
            life = new CheatEngine();
            unit = new CheatEngine();

            measureProgress = 0;
            inputTick = 0;
            willExit = false;

            uiTestStep.Text = "请打开游戏第一关,按下Q跳过教程,等待2-3秒,按下Esc键,将左下角分数填入下部文本框中,按确认键";
        }
 /// <summary>
 /// 设定监视器
 /// </summary>
 /// <param name="mark"></param>
 /// <param name="life"></param>
 /// <param name="unit"></param>
 public void SetMonitor(CheatEngine mark, CheatEngine life, CheatEngine unit)
 {
     markMonitor = mark;
     lifeMonitor = life;
     unitMonitor = unit;
 }