public void MainVerifyCodeRefresh(string PTName, bool pRefresh) { try { if (AppInfo.AnalysisVerifyCode != null) { int pCount = 0; while (!AppInfo.AnalysisVerifyCode(PTName, ref pCount)) { Thread.Sleep(0x3e8); } } } catch { } }