Ejemplo n.º 1
0
 private static void Test()
 {
     try
     {
         CSPTest test = new CSPTest();
         test.Run();
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
         CSPLogger.Error2Txt(ex.Message);
     }
 }
Ejemplo n.º 2
0
        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);
            }
        }