예제 #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;
     }
 }
예제 #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;
         }
     }
 }