コード例 #1
0
ファイル: ScraperGame.cs プロジェクト: brownard/MyEmulators2
 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;
     }
 }