private static void Test() { try { CSPTest test = new CSPTest(); test.Run(); } catch (Exception ex) { Console.WriteLine(ex.Message); CSPLogger.Error2Txt(ex.Message); } }
private static void OnPost() { try { CSPLoginSet.AppExit = true; FormCall form = new FormCall(); form.ShowDialog(); if (CSPLoginSet.AppExit) { Environment.Exit(0); } CSP2Run test = new CSP2Run(); test.OnStart(); } catch (Exception ex) { Console.WriteLine(ex.Message); CSPLogger.Error2Txt(ex.Message); } }