protected override void OgreControlDisposed()
 {
     if (!DesignMode)
     {
         if (!SplashLoadingWindow)
         {
             if (PUActor != null)
             {
                 PUActor.Destroy();
             }
             if (VP != null)
             {
                 VP.Destroy();
                 VP.Dispose();
                 VP = null;
             }
             if (World != null)
             {
                 World.Destroy();
                 World.Dispose();
                 World = null;
             }
         }
     }
 }
 protected virtual void OgreControlDisposed()
 {
     if (!SplashLoadingWindow)
     {
         if (MainActor != null)
         {
             MainActor.Destroy();
         }
         if (VP != null)
         {
             VP.Destroy();
             VP.Dispose();
             VP = null;
         }
         if (World != null)
         {
             World.Destroy();
             World.Dispose();
             World = null;
         }
     }
 }