public static void FreeResources() { GameResources.FreeFonts(); GameResources.FreeImages(); GameResources.FreeMusic(); GameResources.FreeSounds(); SwinGame.ProcessEvents(); }