Exemplo n.º 1
0
 static void Main(string[] args)
 {
     using (CEGUIApplication app = new CEGUIApplication())
     {
         app.Start();
     }
 }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            CEGUIApplication app = new CEGUIApplication();

            try
            {
                app.Start();
            }
            catch (Exception ex)
            {
                Console.WriteLine("###  Exception {0}\n{1}\n{2}", ex.Message, ex.Source, ex.StackTrace);
            }
            finally
            {
                try
                {
                    app.Dispose();
                }
                catch (Exception ex)
                {
                    Console.WriteLine("###  Exception {0}\n{1}\n{2}", ex.Message, ex.Source, ex.StackTrace);
                }
            }
        }