Ejemplo n.º 1
0
 static void Main(string[] args)
 {
     try
     {
         MyOgreWindow win = new MyOgreWindow();
         new SceneCreator(win);
         win.Go();
     }
     catch (System.Runtime.InteropServices.SEHException)
     {
         if (OgreException.IsThrown)
         {
             System.Windows.Forms.MessageBox.Show(OgreException.LastException.FullDescription, "An Ogre exception has occurred!");
         }
         else
         {
             throw;
         }
     }
 }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     try
     {
         MyOgreWindow win = new MyOgreWindow();
         new SceneCreator(win);
         win.Go();
     }
     catch (System.Runtime.InteropServices.SEHException)
     {
         if (OgreException.IsThrown)
             System.Windows.Forms.MessageBox.Show(OgreException.LastException.FullDescription, "An Ogre exception has occurred!");
         else
             throw;
     }
 }