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