private void DisposeMod() { if (mod != null) { tvMod.SetPack(null); SetInputImage(null); mod.Dispose(); mod = null; } }
private void DisposePack() { if (pack != null) { tvPack.SetPack(null); tvRecolorSource.SetPack(null); SetGuiImage(null); SetRecolorImage(null); pack.Dispose(); pack = null; } }