public static void Unload() { Play.Dispose(); Stop.Dispose(); Pause.Dispose(); Step.Dispose(); BackStep.Dispose(); foreach (var keyValue in Icons) { if (keyValue.Value != null) { keyValue.Value.Dispose(); } } foreach (var keyValue in tempImages) { if (keyValue.Value != null) { keyValue.Value.Dispose(); } } }
public static void Unload() { Icon.Dispose(); }