Esempio n. 1
0
 public void Dispose()
 {
     if (BoxFront != null)
     {
         try
         { BoxFront.Dispose(); }
         catch { }
         BoxFront = null;
     }
     if (BoxBack != null)
     {
         try
         { BoxBack.Dispose(); }
         catch { }
         BoxBack = null;
     }
     if (TitleScreen != null)
     {
         try
         { TitleScreen.Dispose(); }
         catch { }
         TitleScreen = null;
     }
     if (InGame != null)
     {
         try
         { InGame.Dispose(); }
         catch { }
         InGame = null;
     }
     if (Fanart != null)
     {
         try
         { Fanart.Dispose(); }
         catch { }
         Fanart = null;
     }
 }