Exemple #1
0
        private void StartWindows()
        {
            try
            {
                ConcetrationMargins concentrationMargins = new ConcetrationMargins();
                concentrationMargins.LoadData();
                // System.Windows.Threading.Dispatcher.Run();
                Console.WriteLine("Run OK");
            }
            catch (Exception s)
            {
                Console.WriteLine("Error  {0}", s.Message);

                Console.WriteLine("Error  {0}", s.StackTrace);


                throw new Exception("Cannot continue with Test");
            }
        }
        private void StartWindows()
        {

            try
            {
                ConcetrationMargins concentrationMargins = new ConcetrationMargins();
                concentrationMargins.LoadData();
               // System.Windows.Threading.Dispatcher.Run();
                Console.WriteLine("Run OK");
            }
            catch (Exception s)
            {
                Console.WriteLine("Error  {0}", s.Message);

                Console.WriteLine("Error  {0}", s.StackTrace);


                throw new Exception("Cannot continue with Test");
            }

        }