Esempio n. 1
0
        private void BondsWindow()
        {
            try
            {
                Bonds bonds = new Bonds();
                //   System.Windows.Threading.Dispatcher.Run();
                Console.WriteLine("Run OK");
                bonds.ViewEnrichedBond();
            }
            catch (Exception s)
            {
                Console.WriteLine("Error  {0}", s.Message);

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


                throw new Exception("Cannot continue with Test");
            }
        }
Esempio n. 2
0
        private void BondsWindow()
        {

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

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


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

        }