protected virtual void Dispose(bool dispose) { if (dispose) { if (TarImage != null) { TarImage.Dispose(); } } }