Example #1
0
 static void Main(string[] args)
 {
     try
     {
         Transparency app = new Transparency();
         app.Go();
     }
     catch
     {
         // Check if it's an Ogre Exception
         if (Mogre.OgreException.IsThrown)
             Mogre.Demo.ExampleApplication.Example.ShowOgreException();
         else
             throw;
     }
 }
Example #2
0
 static void Main(string[] args)
 {
     try
     {
         Transparency app = new Transparency();
         app.Go();
     }
     catch
     {
         // Check if it's an Ogre Exception
         if (Mogre.OgreException.IsThrown)
         {
             Mogre.Demo.ExampleApplication.Example.ShowOgreException();
         }
         else
         {
             throw;
         }
     }
 }